Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: $1 does not reset to undef

by McA (Curate)
on Oct 25, 2013 at 11:29 UTC ( #1059622=note: print w/ replies, xml ) Need Help??


in reply to $1 does not reset to undef

Hi

the driver of your if-clause should be the match itself:

if(/^([\w\.]+)\s+Link.*$/) { # bla }

Regards
McA


Comment on Re: $1 does not reset to undef
Select or Download Code
Re^2: $1 does not reset to undef
by snk (Novice) on Oct 25, 2013 at 11:36 UTC
    Thanks for swift response..It works now. Thanks ;)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-09-17 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (94 votes), past polls