Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Syntax error with loopsby adamk (Chaplain) |
on Feb 25, 2004 at 06:00 UTC ( [id://331611]=note: print w/replies, xml ) | Need Help?? |
Let me also just add that the following command is completely invalid 'inc' is just not perl command... Perl CAN, of course, increment a number, using $printnumber++ much like in C. What actually happened is that perl often interprates 'foo bar' as 'bar->foo', a method call. This lets things like the following work naturally
In Section
Seekers of Perl Wisdom
|
|