No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Dear All,
A weird one: I have a lengthy subroutine (that I cannot post here) that runs fine on ubuntu 9.04 (perl 5.10), but does not compile on ubuntu 8.04 (perl 5.8.8) that I have to use for production. If at line 434 I add / sign, be it my $a=4/3; or in comment ( # blabla/bla), I get syntax error at sub.pm line 523, near "){" syntax error at sub.pm line 543, near "){" syntax error at sub.pm line 552, near "){" syntax error at sub,pm line 561, near "else" which correspond to switch, case, else statements. I could use sign($a)*exp(-log(abs($a))) instead of /$a, but this does not really solve my problem. Does it ring a bell to anyone? Thanks Damien In reply to division sign, even in comment results in syntax error by dcy
|
|