
dan61265
New User
Jan 31, 2003, 11:43 AM
Post #1 of 2
(1099 views)
|
'Can't call method without a package"...
|
Can't Post
|
|
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 "value" without a package or object reference". Here is the line the error is occurring on: output('<jdtoc ', 'pubnum="', $data->attribute('PUBNUM')->value, '" ', 'langcode="', $data->attribute('LANGCODE')->value, '" ', 'versdate="', $data->attribute('VERSDATE')->value, '"', '>', "\n" ); 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)
|