Jan 31, 2003, 11:43 AM
Post #1 of 2
I have a script that runs perfectly on one machine but running it on another machine gives me the following message:
'Can't call method without a package"...
"Can't call method "value" without a package or object reference".
Here is the line the error is occurring on:
'pubnum="', $data->attribute('PUBNUM')->value, '" ',
'langcode="', $data->attribute('LANGCODE')->value, '" ',
'versdate="', $data->attribute('VERSDATE')->value, '"',
Both machines a running the same version of Perl.
Anyone seen this before and how to resolve it?
(This post was edited by dan61265 on Jan 31, 2003, 11:44 AM)