go ahead... be a heretic | |
PerlMonks |
Re^3: Compilation errorby toolic (Bishop) |
on Oct 09, 2012 at 16:41 UTC ( [id://998041]=note: print w/replies, xml ) | Need Help?? |
1. When do I use 'my' before an array and when don't I?Only when you first declare the array variable. Does this code '{$a <=> $b}' work with only numbers?Yes. You want cmp (perlop and sort)
You should also use "code" tags for your error/warning messages.
In Section
Seekers of Perl Wisdom
|
|