Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 lurking in the Monastery: (8)
As of 2014-09-24 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (246 votes), past polls