This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
perl:basic [2015/06/15 15:51] – lunetikk | perl:basic [2017/11/29 17:06] – lunetikk | ||
---|---|---|---|
Line 14: | Line 14: | ||
| pop … | Remove at the end | | | pop … | Remove at the end | | ||
| shift … | Remove at the beginning | | shift … | Remove at the beginning | ||
- | | < | + | | < |
print $arrayelement; | print $arrayelement; | ||
}</ | }</ | ||
- | | < | + | | < |
print "nr 2 is smaller than 1000"; | print "nr 2 is smaller than 1000"; | ||
} | } | ||
Line 23: | Line 23: | ||
print "nr 2 is bigger than 1000"; | print "nr 2 is bigger than 1000"; | ||
}</ | }</ | ||
- | | < | + | | < |
print $count; | print $count; | ||
print " | print " |