Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: System command problem in perl

by mjscott2702 (Pilgrim)
on Nov 26, 2010 at 12:50 UTC ( #873857=note: print w/ replies, xml ) Need Help??


in reply to System command problem in perl

That shouldn't even compile/run:

Global symbol "$cmd1" requires explicit package name at try4.pl line 3.
Global symbol "$cmd1" requires explicit package name at try4.pl line 4.
Global symbol "$cmd" requires explicit package name at try4.pl line 5.
Global symbol "$cmd1" requires explicit package name at try4.pl line 6.
Apart from not using "my" to declare your variables, notice that you reference $cmd, which isn't actuallly declared/assigned to anywhere.


Comment on Re: System command problem in perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://873857]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2015-07-05 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls