Just another Perl shrine | |
PerlMonks |
Re: Bachelor of Arts?by erikharrison (Deacon) |
on Aug 26, 2002 at 02:21 UTC ( [id://192747]=note: print w/replies, xml ) | Need Help?? |
So, the ++ operator has highest precedence. According to perlop it returns the value first then autoincrements it. Then $a is evlauated, then print. Step by step it looks like this: Cheers, Erik Light a man a fire, he's warm for a day. Catch a man on fire, and he's warm for the rest of his life. - Terry Pratchet
In Section
Seekers of Perl Wisdom
|
|