This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
perl:basic [2017/03/01 12:50] – external edit 127.0.0.1 | perl:basic [2018/12/20 17:45] (current) – Discussion status changed 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 " | ||
Line 31: | Line 31: | ||
\\ | \\ | ||
\\ | \\ | ||
- | ~~DISCUSSION~~ | + | ~~DISCUSSION:closed~~ |