in reply to Re: Re: Code rot?
in thread Code rot?
There is no code that is guaranteed to work between Perl versions. You may have to tweak it a little. I would suggest using perl -MO=Deparse scriptname.pl to find out what it's doing. The problem isn't in the if-condition. It's earlier on, where $_ is set.
------
We are the carpenters and bricklayers of the Information Age.
The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re3: Code rot?
by aarestad (Sexton) on Sep 22, 2003 at 21:37 UTC | |
by dragonchild (Archbishop) on Sep 23, 2003 at 01:05 UTC | |
by Beechbone (Friar) on Sep 23, 2003 at 11:13 UTC | |
by aarestad (Sexton) on Sep 23, 2003 at 13:01 UTC | |
by Beechbone (Friar) on Sep 24, 2003 at 15:03 UTC | |
by aarestad (Sexton) on Sep 23, 2003 at 18:27 UTC |