Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
But how can I make param('home') print as its variable, all it prints is "param('home')", I tried stuff likeif(! -d param('home')) { &inerror("we couldnt find param('home') please check path"); }
But of course youll get an error.&inerror("we couldnt find ", param('home')," please check path");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sending variables to subs
by rattusillegitimus (Friar) on Jun 29, 2002 at 03:56 UTC | |
|
Re: Sending variables to subs
by cLive ;-) (Prior) on Jun 29, 2002 at 04:55 UTC | |
|
Re: Sending variables to subs
by amphiplex (Monk) on Jun 29, 2002 at 10:44 UTC | |
|
Re: Sending variables to subs
by thunders (Priest) on Jun 29, 2002 at 03:58 UTC | |
|
Re: Sending variables to subs
by krisahoch (Deacon) on Jun 29, 2002 at 06:19 UTC |