gregaryh has asked for the wisdom of the Perl Monks concerning the following question:
When I run it it throws this warning:my $version; eval { $version = Object::Method($value); };
I am not sure where it is doing a pattern match since the Method of the object does not and nothing else is in the eval block. I am not sure where the line 4 and chunck 1 are referring to either since it is nowhere near line 4 in my code. Any ideas where to look?Use of uninitialized value in pattern match (m//) at (eval 65) line 4, + <> chunk 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: eval warnings
by ikegami (Patriarch) on Sep 28, 2005 at 21:06 UTC | |
by gregaryh (Novice) on Sep 28, 2005 at 23:44 UTC |