Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: HOw do I compare two strings against to arrays respectively

by quidity (Pilgrim)
on Nov 04, 2000 at 00:36 UTC ( [id://39901]=note: print w/replies, xml ) Need Help??


in reply to How do I compare two strings against two arrays respectively?

Yipee, another chance to use my favourite module... It might not run fast, but it'll be cool!

use Quantum::Superpositions; my $first = any(@routers); my $second = any(@interfaces); if ( ($first_arg eq $first) and ($second_arg ne $second)) { # .. do stuff .. # }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-20 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found