http://www.perlmonks.org?node_id=993395


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

Replies are listed 'Best First'.
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