Bon, mon probl�me avec grenouille est un probl�me d'Install de Perl
sous Woody (sous Patate, �a marche, j'ai test� sur une autre machine)
Je n'arrive pas � faire marcher �a :
#!/usr/bin/perl
use Getopt::Long qw();
my($verbose);
GetOptions("verbose", \$verbose);
Il me balance
Undefined subroutine &main::GetOptions called at ./bonalors.pl line 5.
J'ai
locate GetOptions
/usr/share/perl/5.6.1/auto/Getopt/Long/GetOptions.al
locate Getopt
/usr/share/man/man3/Getopt::Long.3perl.gz
/usr/share/man/man3/Getopt::Std.3perl.gz
/usr/share/perl/5.6.1/auto/Getopt
/usr/share/perl/5.6.1/auto/Getopt/Long
/usr/share/perl/5.6.1/auto/Getopt/Long/autosplit.ix
/usr/share/perl/5.6.1/auto/Getopt/Long/config.al
/usr/share/perl/5.6.1/auto/Getopt/Long/Configure.al
/usr/share/perl/5.6.1/auto/Getopt/Long/Croak.al
/usr/share/perl/5.6.1/auto/Getopt/Long/FindOption.al
/usr/share/perl/5.6.1/auto/Getopt/Long/GetOptions.al
/usr/share/perl/5.6.1/Getopt
/usr/share/perl/5.6.1/Getopt/Long.pm
/usr/share/perl/5.6.1/Getopt/Long.pod
/usr/share/perl/5.6.1/Getopt/Std.pm
/usr/share/perl5/Debian/Debhelper/Dh_Getopt.pm
Il y a au minimum un probl�me de chemins, mais j'ai tent� des "ln -s"
pour essayer de comprendre mais �a ne va pas mieux
Apparemment le @INC est
@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl /usr/lib/perl5/5.6 /usr/lib/perl5/5.005 .
Que faire ?
Merci d'avance.
Olivier