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

Re: Use of uninitialized value in subroutine entry

by AnomalousMonk (Chancellor)
on May 18, 2017 at 18:15 UTC ( #1190549=note: print w/replies, xml ) Need Help??


in reply to Use of uninitialized value in subroutine entry

Please also see Short, Self-Contained, Correct Example. Note that the exercise of creating a short code and data example for us may clarify to you what the problem is without need for further consultation.

BTW: From the very limited code presented in the OP, one can guess that the problematic values in the subroutine entries of the
    $csv->print ($ips, \@record);
and
    $csv->print ($hosts,\@record);
statements are $ips and $hosts. If @record were not defined, nothing at all would work (I doubt the code would even compile), so pay particular attention to these former variables.


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1190549]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-10-23 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (279 votes). Check out past polls.

    Notices?