Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Warning is right or not ?

by RichardK (Vicar)
on Dec 20, 2012 at 19:47 UTC ( #1009782=note: print w/ replies, xml ) Need Help??

in reply to Warning is right or not ?

Did you really intent to put a comma in this, or is it a typo?

return $data[$count-1],"\n";

As it is, this will only return "\n"

Comment on Re: Warning is right or not ?
Select or Download Code
Replies are listed 'Best First'.
Re^2: Warning is right or not ?
by Anonymous Monk on Dec 20, 2012 at 19:54 UTC
    That is typo, because there was print before return to test that line, thank you for pointing that out. And when I removed that, the warning disappeared too, thank you very much :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (19)
As of 2015-11-30 17:28 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls