Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: grep flip flop (range operator)

by frozenwithjoy (Curate)
on Sep 13, 2012 at 07:34 UTC ( #993395=note: print w/ replies, xml ) Need Help??


in reply to Re^2: grep flip flop (range operator)
in thread grep flip flop (range operator)

To make things a bit more readable, you could use the match-once operator like this:

perl -le " print for grep ?? .. /Q/, @ARGV " a b c Q r s ___ a b c Q


Comment on Re^3: grep flip flop (range operator)
Download Code
Re^4: grep flip flop (range operator)
by Anonymous Monk on Sep 13, 2012 at 07:37 UTC

    Uh-oh

    $ perldoc -f ?? No documentation for perl function '??' found

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-07-12 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (241 votes), past polls