in reply to Compatiblity with older perls

You're overreacting. Perl 5.005 wasn't that primitive compared to 5.8.x. The major differences of 5.005 towards 5.8.x in my mind (I could be overlooking some) are: I was thinking of the 4th argument to substr too, but apparentlythat was already part of 5.005.

If I were you, I'd focus on these two, first. I can't say I've ever used one of the other newer features.

Replies are listed 'Best First'.
Re: Re: Compatiblity with older perls
by etcshadow (Priest) on Apr 06, 2004 at 21:43 UTC
    Yeah... more than anything, I'd say that our ( $var1, @var2, %var3 ); versus use vars qw( $var1 @var2 %var3 ); is the biggest issue in code compatibility back to 5.005. Always a good place to start looking.
    ------------ :Wq Not an editor command: Wq
Re: Re: Compatiblity with older perls
by eserte (Deacon) on Apr 07, 2004 at 08:44 UTC
    Also, "use warnings" is very popular in newer modules, but not available for perl 5.005.