Perl: the Markov chain saw | |
PerlMonks |
Re: using if-elsif-elseby monkey_boy (Priest) |
on Dec 28, 2006 at 15:46 UTC ( [id://592067]=note: print w/replies, xml ) | Need Help?? |
lots of extra brackets there!, also, an "else" cannot have a conditional, so you need another "elsif", use "else" for a catchall at the end, ive fixed up your snippet below:
This is not a Signature...
In Section
Seekers of Perl Wisdom
|
|