in reply to Re: Re: Re: i cant see whats wrong with this:
in thread i cant see whats wrong with this:

you're right,

i used this syntax, due to my c++ and java knowledge (although there would be a switch - case statement in use...).
i believed that i got this structure also in other perlscripts.
as i checked it, i saw, that i've had this prob earlier and solved it with a rather ineffective workaround...

thanks again, now it works just fine!
m.t.minded
  • Comment on Re: Re: Re: Re: i cant see whats wrong with this:

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: i cant see whats wrong with this:
by BrowserUk (Patriarch) on Aug 30, 2002 at 10:42 UTC

    Your welcome!

    And don't worry, you aren't the only one. I still do this every now and again. Actually, nearly everytime I type an elsif it comes out as  else if or elif when I first type it. It's become almost automatic to go back and correct it as I go, before I ever attempt to run the code.

    Human brains are weird things. It seems to take an age to learn something, but un-learning it is oh, so much harder.