Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Warning is right or not ?

by RichardK (Parson)
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"

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009782]
help
Chatterbox?
[1nickt]: Wow. I had heard about the chips on HP cartriddges but not that issue. I rejected HP's equivalent laptop becuase of build quality, very plasticky keyboard. And I believe HP is the champon of bloatware, too.
[stevieb]: Perhaps my experience with HP is a bit different as I always bought the highest end models through business.
[Corion]: 1nickt: At least the machines that $work is introducing to replace the Lenovo T60 here do not inspire confidence with me

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2017-03-27 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.