Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 exploiting the Monastery: (7)
As of 2014-07-11 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (219 votes), past polls