Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: recursive array search

by Rhys (Pilgrim)
on Oct 01, 2004 at 19:46 UTC ( [id://395721]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    next if ($element eq $compare);
    
  2. or download this
    ($front, $back) = split /:/, $compare;
    if ( $compare =~ /:$back$/ ) {
      # do something
    }
    
  3. or download this
    $moduloc = () = $compare =~ /X(\d+):/; # Grab the divisor.
    $moduloe = () = $element =~ /X(\d+):/; # Grab the other one.
    ...
    if ( not ($moduloe)%($moduloc) ) {
      # Do something.
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-23 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found