Re: Can't call method <function> on an undefined value at <module>
- From: John Bokma <john@xxxxxxxxxxxxxxx>
- Date: 27 Jun 2005 21:32:59 GMT
"richardlsmith" <richardlsmith2@xxxxxxxxx> wrote:
> The consuming Perl script looks like this:
>
> #! /usr/bin/perl -w
>
> use Module;
>
> $v1 = "v1";
>
> f1();
>
> ----------
> Any suggestions on how I make this work?
I would use OO + a setter method.
tip:
drop -w, and use strict; use warnings;
--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
.
- References:
- Can't call method <function> on an undefined value at <module>
- From: richardlsmith
- Can't call method <function> on an undefined value at <module>
- Prev by Date: Re: Can't call method <function> on an undefined value at <module>
- Next by Date: Retrieving XML attribute using XML::XPath::Node::Attribute
- Previous by thread: Re: Can't call method <function> on an undefined value at <module>
- Next by thread: Retrieving XML attribute using XML::XPath::Node::Attribute
- Index(es):
Relevant Pages
|