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

Re^2: No output to screen or output file

by dkhalfe (Acolyte)
on Jul 24, 2012 at 17:21 UTC ( #983476=note: print w/ replies, xml ) Need Help??


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

Yes I do

 my $num_elements = (@filter-1); #Number of elements in array

I have even printed the $num_elements variable to the screen and it works.


Comment on Re^2: No output to screen or output file
Download Code
Re^3: No output to screen or output file
by Cristoforo (Deacon) on Jul 24, 2012 at 18:32 UTC
    $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://983476]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-12-28 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls