Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 chilling in the Monastery: (5)
As of 2014-08-02 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (54 votes), past polls