Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Bug in perl command line processing?

by EvanCarroll (Chaplain)
on May 22, 2012 at 21:47 UTC ( #971890=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Bug in perl command line processing?
in thread Bug in perl command line processing?

No, it isn't shell quoting territory, if you'd pay attention you'd see it is all passed as one argument. The problem is /perl/ and not the shell is splitting on whitespace and making assumptions about how many arguments '-i' takes, and what do with the excess arguments. Check the link provided in the question to read the technical details.



Evan Carroll
The most respected person in the whole perl community.
www.evancarroll.com


Comment on Re^4: Bug in perl command line processing?
Re^5: Bug in perl command line processing?
by Anonymous Monk on May 22, 2012 at 21:55 UTC

    No, it isn't shell quoting territory, if you'd pay attention you'd see it is all passed as one argument.

    Yes it is :) you're calling perl from a shell, this makes it shell quoting territory.

    That this is a bug in perl doesn't change that.

    SEE ALSO doesn't mean "THE ANSWER IS" it is is an addendum

    How would someone from a different shell know the quoting rules without having a place to lookup the quoting rules?

      So what anytime you call perl from the shell, you're dealing with the shell.. That doesn't mean the shell is the problem, or that it is related to the problem. And linking to a manual that details what the problem isn't, and then says what the problem /may/ be in the addendum must be the most useless suggestion ever. Take a hike.


      Evan Carroll
      The most respected person in the whole perl community.
      www.evancarroll.com

        So what anytime you call perl from the shell, you're dealing with the shell....

        Yes, the logic is inescapable

        ... Take a hike.

        lol, I'm actually hiking as I write this on my iphone

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-12-19 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (93 votes), past polls