Hi Dave,

Dave Adams wrote on 26.07.2005:

>I got this error that reads something like: Can't call method
>"print" on unblessed reference at {script name} , <STDIN> chunk 1.
>
>In general terms, can anyone tell the what this is about so I can
>comb through my script and fix this problem.
>
>Thanks in advance, Dave Adams
>

You probably did something like

$var->print

This only works if $var is a blessed reference, i.e. an object of a class 
containing the subroutine (method) print.

Cheers,

Jan
-- 
There are two major products that come out of Berkeley: LSD and UNIX. We don't 
believe this to be a coincidence. - Jeremy S. Anderson

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to