Melly has asked for the wisdom of the Perl Monks concerning the following question:
foreach(@rec){
if(/^(\d)(\d{5})(.*)$/){ #rec type, itemno, value
$num = abs $2;
$ival = $3;
# Vrx handling
if($1 == 1){ #vrx
$vrx = abs($num . $ival);
}
and I occasionally get the warning:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Odd warning
by Sidhekin (Priest) on Jul 25, 2002 at 16:17 UTC | |
by Melly (Chaplain) on Jul 25, 2002 at 16:44 UTC | |
|
Re: Odd warning
by tadman (Prior) on Jul 25, 2002 at 16:05 UTC | |
by Melly (Chaplain) on Jul 25, 2002 at 16:31 UTC | |
by Ovid (Cardinal) on Jul 25, 2002 at 17:05 UTC | |
|
Re: Odd warning
by dws (Chancellor) on Jul 25, 2002 at 16:27 UTC |