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

Re: syntax error

by LazerRed (Pilgrim)
on Sep 21, 2003 at 19:53 UTC ( #293029=note: print w/ replies, xml ) Need Help??


in reply to syntax error

You should check for mismatched {}'s I did some cut & paste action below, maybe it will help you see. I "think" you may have an extra } before your first else, and you may be missing one before your elsif. Just my best guess :-)

if ($page == "0"){ foreach $pic (@images){ if ($ttlcounter <= "24"){ if ($tmpcounter eq "3"){ }else{ } } }else{ } } elsif($page eq "1"){ { } foreach $pic (@images){ if ($ttlcounter =< "24"){ if ($tmpcounter == "3"){ }else{ } } }else{ }
LR


Comment on Re: syntax error
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2015-07-03 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls