in reply to xs modifying passed value
print "It's $t\n" if $passfail eq 1;
Maybe a minor point, but "eq" is a string comparison operator, not a numeric comparison operator.
A Monk aims to give answers to those who have none, and to learn from those who know more.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: xs modifying passed value
by Festus Hagen (Novice) on Nov 18, 2012 at 01:48 UTC | |
by afoken (Chancellor) on Nov 18, 2012 at 07:57 UTC | |
by Festus Hagen (Novice) on Nov 19, 2012 at 13:31 UTC |
In Section
Seekers of Perl Wisdom