Menu

#94 GO::L::Configure vs require 5.004

open
nobody
None
5
2001-10-23
2001-10-23
No

I'm running a vanilla 5.004_04 (eoe.sw.gifts_perl with IRIX 6.5) and the plugin perl scripts I
call seem to all use Getopt::Long::Configure. However, it seems to me that only
Getopt::Long::config is available under vanilla perl 5.004.

Of course, perhaps the scripts assume a newer install of Getopt::Long, but that isn't stated
anywhere (and it doesn't seem necessary), so I think they should:

* require() a newer version of perl, one that comes with a Getopt::Long that has a Configure()
subroutine, or

* change the Getopt::Long::Configure calls to Getopt::Long::config (which I believe has the same
syntax)

I'd prefer the latter (at least until IRIX's default install comes with 5.6.1 :0), and also considering
that a good portion of the install base out there is still running 5.004 (for better or worse), it
seems that the latter change would accommodate the most people better, possibly with a
comment:

# XXX change to ::Configure and require 5.005 when most people have upgraded

Thanks,
Krishna Sethuraman

Discussion


Log in to post a comment.