Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Unsuccessfully passing arguments to a bash command

by choroba (Abbot)
on Jun 16, 2013 at 09:00 UTC ( #1039187=note: print w/ replies, xml ) Need Help??


in reply to Unsuccessfully passing arguments to a bash command

Bash comment:
It is better to use

perl ./untouchalbe.pl "$@"

That way, you can correctly process arguments containing whitespace.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Unsuccessfully passing arguments to a bash command
Download Code
Re^2: Unsuccessfully passing arguments to a bash command
by ikegami (Pope) on Jun 16, 2013 at 15:51 UTC
    "$*" in this case.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-12-28 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls