apprentice has asked for the wisdom of the Perl Monks concerning the following question:
I've tried every way I can to no avail. Please show me the way...Thanks! A (very) humble Apprenticesub filename($){ #do some stuff } $filename = somefile.ext $filename($dbh);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to use a scalar variable to call a subroutine?
by chromatic (Archbishop) on Feb 05, 2001 at 23:13 UTC | |
|
Re: How to use a scalar variable to call a subroutine?
by mirod (Canon) on Feb 05, 2001 at 22:49 UTC | |
|
Re: How to use a scalar variable to call a subroutine?
by Fastolfe (Vicar) on Feb 06, 2001 at 00:56 UTC | |
|
Re: How to use a scalar variable to call a subroutine?
by kilinrax (Deacon) on Feb 05, 2001 at 22:45 UTC | |
|
Re: How to use a scalar variable to call a subroutine?
by jeroenes (Priest) on Feb 05, 2001 at 22:48 UTC |