From: Jamie C. <jca...@we...> - 2001-02-06 21:56:40
|
n123 k123 wrote: > > I defined a custom command that hands over a parameter to a shell script, what works nice. > Now I tried to do the same with an executed perl script > and always got an _Use of uninitialized value at line ..._. > > I suppose the problem is my perl code. > What code is necessary when I use the parameter name foo? Assuming you are calling your script like /some/path/myscript.pl $foo then in your perl code, you could use $ARGV[0] to get the $foo parameter. - Jamie |