in reply to perl 5.005_03 woes
the_slycer,
In addition to the proper de-referencing that liz illustrates, you are using $a as an unscoped global. You should avoid using $a and $b as variable names as they are used by Perl for sorting. See perldoc -f sort. It should then be properly scoped with my or *gasp* our if you really need it to be global.
In addition to the proper de-referencing that liz illustrates, you are using $a as an unscoped global. You should avoid using $a and $b as variable names as they are used by Perl for sorting. See perldoc -f sort. It should then be properly scoped with my or *gasp* our if you really need it to be global.
Welcome back - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: perl 5.005_03 woes
by freddo411 (Chaplain) on Aug 07, 2003 at 22:54 UTC | |
Re: Re: perl 5.005_03 woes
by the_slycer (Chaplain) on Aug 07, 2003 at 19:35 UTC | |
by Limbic~Region (Chancellor) on Aug 07, 2003 at 19:43 UTC |
In Section
Seekers of Perl Wisdom