Number 3 should be the only one you use. Anyone who tries to tell you otherwise shouldn't be teaching you Perl. There's one small exception, you can get away with using number 4, but you should only really use it if you're happy explaining why it's a bad idea.
Number 1 is just weird and number 2 doesn't compile.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: P248 programming perl
by davorg
in thread P248 programming perl
by wackattack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |