Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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.

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...
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://739612]
[erix]: (annoying habit of the economist to publish anonymously)
LanX has a name!
LanX I've got a name

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-12-14 17:21 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (400 votes). Check out past polls.