Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: Re: perl -s is evil?

by jclovs (Sexton)
on Nov 16, 2001 at 21:29 UTC ( #125859=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -sleT 'use diagnostics; use strict; "Hello" =~ /(\w+)/; print $
    +1' -- -1=foo
    $
    
  2. or download this
    $ perl -sleT 'use diagnostics; use strict; "Hello" =~ /(\w+)/; print $
    +1' -- -1=foo
    foo
    $
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2019-12-09 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?