Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: syntax error near unexpected token `)'

by aaron_baugher (Curate)
on May 20, 2012 at 18:32 UTC ( [id://971511]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    echo "'$SHELL'"       ->      outputs 'bash'
    echo '"$SHELL"'       ->      outputs "$SHELL"
    
  2. or download this
    echo "a ' quote"' and a " quote'
    outputs: a ' quote and a " quote
    
  3. or download this
    cat file.txt |  perl -ne '{chomp; ($a, $b) = split/\s+/; $s = "$a $b";
    + next if($s !~ /^\w+\'"'"'?\w+?\s+\w+\'"'"'?\w+?$/); print "$_\n"}' |
    + wc -l
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found