Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Grep & Regex Question

by ysth (Canon)
on Dec 01, 2013 at 09:24 UTC ( [id://1065130]=note: print w/replies, xml ) Need Help??


in reply to Grep & Regex Question

Perhaps you mean something like:
my $position = 'FL1'; my @priority = qw(RB1 RB2 FL1 FL2 QB1 QB2 TE1 WR1 WR2 DST); @priority = grep $_ ne $position, @priority;
--
A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-07-24 21:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.