in reply to Re^4: Some Weird behavior with BerkeleyDB and WWW::Mechanize
in thread Some Weird behavior with BerkeleyDB and WWW::Mechanize
If you look at sub get in Mechanize.pm:
sub get { my $self = shift; my $uri = shift; ...
The parameter $uri is passed by value, which means it is copied.
Even it is modified later on, you'll never see that in your script because it's just a copy that's modified.
However the uninitialized value might be a hint. Check $url for definedness, and die if it's not, then rerun your script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Some Weird behavior with BerkeleyDB and WWW::Mechanize
by downer (Monk) on Dec 06, 2007 at 00:17 UTC | |
by Anonymous Monk on Dec 06, 2007 at 07:49 UTC |