Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: printing special characters taken in command line (\")

by tye (Sage)
on May 19, 2015 at 18:46 UTC ( [id://1127169]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /^"( [^\\"]+ | \\+[^\\"] | (\\\\)*\\" )*"$/x
    
  2. or download this
    /^"( [^\"]+ | \+[^\"] | (\\)*\" )*"$/x
    
  3. or download this
     C:\> perl -le"print for @ARGV" hi "hi" "\"hi\"" "\\hi\\" "\\hi\\\""
    hi
    ...
    "hi"
    \\hi\
    \\hi\"
    
  4. or download this
     C:\> perl -le"print for @ARGV" "6""5'"
    6"5'
    ...
    my
    little
    friend
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found