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

Re: Is this code correct

by borisz (Canon)
on Jan 28, 2009 at 15:31 UTC ( #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


Comment on Re: Is this code correct
Re^2: Is this code correct
by kennethk (Monsignor) 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...
Re^2: Is this code correct
by hax0id on Jan 28, 2009 at 15:49 UTC
    @info = ( "9,1[i] 15,1Release : 11,1305 - IrcBot", "9,1[i] 15,1Author : 11,1$auth - 305 coderz", "9,1[i] 15,1Contact : 11,1$authmail", "9,1[i] 15,1Uname -a: 11,1$sys", "9,1[i] 15,1Uptime : 11,1$up", "9,1[i] 15,1Spread Mode: 11,1$t5", "9,1[i] 15,1Security Mode: 11,1$y5"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-09-21 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (175 votes), past polls