Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Segmentation fault

by Utilitarian (Vicar)
on Feb 08, 2012 at 13:44 UTC ( [id://952501]=note: print w/replies, xml ) Need Help??


in reply to Segmentation fault

Your copy of the @vals array may be copying an undefined value so perhaps you should check the values before setting them in the new array.
for my $i (0..$#vals){ $tot_mem[$i]=$vals[$i][1]?$vals[$i][1]:0; }
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found