Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Is this code correct

by borisz (Canon)
on Jan 28, 2009 at 15:31 UTC ( [id://739612]=note: print w/replies, xml ) Need Help??


in reply to Is this code correct

Looks wrong to me $_1 is always undefined and @info; seems senseless too.
Boris

Replies are listed 'Best First'.
Re^2: Is this code correct
by kennethk (Abbot) on Jan 28, 2009 at 15:38 UTC
    The OP actually typed $_[1] and PM interpolated that into $_1, so that's no problem. Looping over an undefined array, on the other hand... Perhaps it's a global...
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-20 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found