Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: while nested in foreach

by AcidHawk (Vicar)
on Dec 01, 2003 at 14:29 UTC ( #311247=note: print w/replies, xml ) Need Help??


in reply to while nested in foreach

From your description it seems as if you need an if between the next and the (($day...

Something like

next if (($day_counter == 0)&&(substr($_,9,2)<17)); next if (($day_counter == 1)&&(substr($_,9,2)>16));
Update: D'oh Abigail-II was much faster with his reply.

-----
Of all the things I've lost in my life, its my mind I miss the most.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2021-02-27 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?