nsupathy0 has asked for the wisdom of the Perl Monks concerning the following question:
sub mycheck { # the following throws a warning my $db = $_ or my $db = ""; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: passing a scalar to a function
by moritz (Cardinal) on May 19, 2008 at 10:48 UTC | |
by linuxer (Curate) on May 19, 2008 at 11:07 UTC | |
by nsupathy0 (Initiate) on May 19, 2008 at 13:02 UTC | |
|
Re: passing a scalar to a function
by Corion (Patriarch) on May 19, 2008 at 10:49 UTC | |
|
Re: passing a scalar to a function
by dragonchild (Archbishop) on May 19, 2008 at 13:41 UTC | |
|
Re: passing a scalar to a function
by Narveson (Chaplain) on May 19, 2008 at 11:07 UTC | |
|
Re: passing a scalar to a function
by psini (Deacon) on May 19, 2008 at 10:48 UTC |