Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Difference between this array assignment and push

by Anonymous Monk
on May 16, 2007 at 14:23 UTC ( [id://615781]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @galleries_found = $mech->content =~ m/(gallery\.php\?gid=\d+)/gi;
    
  2. or download this
          push(@pics, $1) while $mech->content =~ m#(images/thumb/\d+/\d+/
    +\d+\.jpg)#gi;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-03-28 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found