Perl: the Markov chain saw | |
PerlMonks |
Re: Ansi Perlby wolfger (Deacon) |
on Dec 23, 2004 at 14:24 UTC ( [id://417093]=note: print w/replies, xml ) | Need Help?? |
If I understand you properly, you are asking why we don't force people to write for($x=1;$x<=10;$x++){} and disallow for(1..10){}, or vice versa. Similarly, I think you want to force if($x==5){print $x} and disallow print $x if ($x==5) (or vice versa... If my assumptions are correct, then I think the answer is that this flies completely in the face of Perl's spirit...
-- Linux, sci-fi, and Nat Torkington, all at Penguicon 3.0 perl -e 'print(map(chr,(0x4a,0x41,0x50,0x48,0xa)))'
In Section
Seekers of Perl Wisdom
|
|