GeoffOs has asked for the wisdom of the Perl Monks concerning the following question:
But I get this errormy ($cmd, $cmdkill); $cmd = qq{$path -qx $host $port $suser $password}; $cmdkill = qq{$path -qx $host $port} }; open(PROC,"$cmd|") or die "failed to fork :$!\n";
Anyone know what I am doing wrong?Global symbol "$cmd" requires explicit package name at ./check_req.pl +line 213. Global symbol "$cmdkill" requires explicit package name at ./check_req +.pl line 214.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: requires explicit package name
by talexb (Chancellor) on Oct 22, 2003 at 16:11 UTC | |
by GeoffOs (Initiate) on Oct 22, 2003 at 20:34 UTC | |
|
Re: requires explicit package name
by dragonchild (Archbishop) on Oct 22, 2003 at 16:06 UTC | |
|
Re: requires explicit package name
by Abigail-II (Bishop) on Oct 22, 2003 at 16:04 UTC | |
|
Re: requires explicit package name
by tbone1 (Monsignor) on Oct 22, 2003 at 19:22 UTC | |
|
Re: requires explicit package name
by Anonymous Monk on Oct 23, 2003 at 02:33 UTC |