On Thu, Mar 7, 2013 at 12:29 PM, Lawrence Statton <lawre...@cluon.com> wrote:
> On 03/07/2013 11:00 AM, shawn wilson wrote:
>>
>> However, when I @EXPORT this function from a module, I get this:
>> Can't call method "pre" on an undefined value at lib/Misc.pm line 45,
>> <>  line 723793.
>

> if (my $answer = $packet->answer) { ... }
>

Ah, yeah that's right. thanks.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to