Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: grep flip flop (range operator)

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


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

Ah, take a look at Regexp Quote Like Operators and then search for m??. In my snippet, I shortened m?? to ??.

Replies are listed 'Best First'.
Re^6: grep flip flop (range operator)
by Anonymous Monk on Sep 13, 2012 at 07:55 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993400]
help
Chatterbox?
[james28909]: how can i write a while loop on one line (in a script) something like print "this\n" && print "that" && <DATA> && print the other\n" && next if /this matches/ while <DATA>?
[james28909]: i have tried with && and and and have tried to rearrange the functions as well to no avail
[shmem]: use parens to group expressions
[shmem]: you can't use next in a statement modifier
[shmem]: next requires a BLOCK

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-05-20 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?