Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Perl one-liner Quotes help

by ikegami (Patriarch)
on Jul 15, 2010 at 19:06 UTC ( [id://849838]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    system(
        q{perl},
        q{-lane},
        q{print "John's";},
    );
    
  2. or download this
    print\ \"John\'s\";
    
  3. or download this
    "print \"John's\";"
    
  4. or download this
    'print "John'"'"'s";'
    'print "John'\''s";'
    
  5. or download this
    perl -lane 'print "John'\''s";'
    
  6. or download this
    system(
        q{perl},
        q{-lane}.q{print "John's";},
    );
    
  7. or download this
    perl '-laneprint "John'\''s";'
    
  8. or download this
    perl -lane'print "John'\''s";'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found