Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Cannot find input arguments to program called with "system"

by philipbailey (Chaplain)
on Jul 06, 2011 at 07:07 UTC ( #912919=note: print w/ replies, xml ) Need Help??


in reply to Cannot find input arguments to program called with "system"

You should chomp $file. It otherwise contains a newline character at the end.


Comment on Re: Cannot find input arguments to program called with "system"
Re^2: Cannot find input arguments to program called with "system"
by pktrain (Acolyte) on Jul 06, 2011 at 07:13 UTC
    Thank you! Using chomp() was the solution...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-07-04 20:15 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 (60 votes), past polls