in reply to Re: Changing the Value Assigned To A Hash Key
in thread Changing the Value Assigned To A Hash Key
Didn't work using an always fail function with any of the following tests:
sub check_name { return 0; } unless (&check_name($app{"first_name"})) { # code } # , unless (&check_name($app{"first_name"}) == 1) { # code } # , unless (&check_name($app{"first_name"}) eq 1) { # code } # , or unless (&check_name($app{"first_name"}) eq "1") { # code } # perl -v # This is perl, v5.8.4 built for MSWin32-x86-multi-thread # (with 3 registered patches, see perl -V for more detail)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Changing the Value Assigned To A Hash Key
by phaylon (Curate) on Feb 08, 2005 at 22:39 UTC | |
by gnurob (Initiate) on Feb 08, 2005 at 23:28 UTC | |
by phaylon (Curate) on Feb 09, 2005 at 21:51 UTC | |
by gnurob (Initiate) on Feb 08, 2005 at 23:36 UTC |