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

Re: Extraneous behaviour of match variables

by ikegami (Pope)
on Nov 03, 2006 at 03:49 UTC ( #582001=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (qw( video book )) {
       'unchanged' =~ /(.*)/;  # Set $1
    ...
          print "false -> $1\n";
       }
    }
    
  2. or download this
    false -> video
    true -> unchanged
    
  3. or download this
    foreach my $link (
        '<a href="/story/43480/">The Bottled Water Lie</a>',
    ...
    
       print("$url: $title\n");
    }
    
  4. or download this
    foreach my $link (
        '<a href="/story/43480/">The Bottled Water Lie</a>',
    ...
    
       print("$url: $title\n");
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2014-10-24 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (132 votes), past polls