Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 scrutinizing the Monastery: (4)
As of 2014-11-23 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (128 votes), past polls