Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

How to compare elements within an array

by doubleqq (Acolyte)
on Feb 20, 2014 at 18:45 UTC ( [id://1075621]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    lab1_set1.txt
    lab1_set2.txt
    ...
    .....
    labn.set1.txt
    labn_set2.txt
    
  2. or download this
     
    for (@labsets) {
        if ($_ ~= /^lab\d{1}/) = [some condition] {
    ...
         } else {
             print "print $_ did not match\n";
         }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1075621]
Approved by Kenosis
Front-paged by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (9)
As of 2024-04-23 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found