in reply to division sign, even in comment results in syntax error

...but does not compile on ubuntu 8.04 (perl 5.8.8)
...which correspond to switch, case, else statements

Are you using Switch? don't do it!

Switch is not reliable, it is a source filter that parses perl code and modifies it on the fly and sometimes does it wrongly.

  • Comment on Re: division sign, even in comment results in syntax error

Replies are listed 'Best First'.
Re^2: division sign, even in comment results in syntax error
by dcy (Initiate) on Jul 31, 2009 at 16:59 UTC
    You were right, I have replaced my switch case statements with ifs elsifs and now everything works fine.

    Thanks really a lot.

    Damien