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

Re^3: No output to screen or output file

by Cristoforo (Deacon)
on Jul 24, 2012 at 18:32 UTC ( #983495=note: print w/replies, xml ) Need Help??


in reply to Re^2: No output to screen or output file
in thread No output to screen or output file

$num_elements isn't really named correctly. In the code, it is the last index of the array. Just a minor nit.   :-)

But, your for loop is ok because it tests if $c <= $num_elements.

Chris

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-03-26 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (313 votes). Check out past polls.