in reply to Getopt::Euclid victim of 5.10 upgrade
andPerl 5.8.9 on linux: $ARGV = { 'WHEN' => '12:34' }; $string = 'It is thyme';
Considering that the MSWin32 Perl also gives you what you want, I'd say you encountered a bug in the cygwin port. It may be worth sending in a bug report; preferably with the code fragment turned into a test.Perl 5.10.0 on linux: $ARGV = { 'WHEN' => '12:34' }; $string = 'It is thyme';
As for a fix, I've one suggestion. Try turning the my $ARGV into local %ARGV, and use a fully qualified path when refering to $ARGV{WHEN}. But that's just a guess, and since my perl doesn't have the bug in the first place, I cannot test whether it makes a difference.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getopt::Euclid victim of 5.10 upgrade
by telemachus (Friar) on Feb 13, 2009 at 12:46 UTC | |
by scott\b (Novice) on Feb 17, 2009 at 03:58 UTC |