From: Rob Dixon <[EMAIL PROTECTED]>
> It is common practice in most languages to pass an additional implicit
> parameter
> to method calls. Class methods like BOA::Logger2->new will have the class name
> passed as the first parameter, whereas object methods like $logger->level will
> have the obje
Richard Lee wrote:
> Rob Dixon wrote:
>> Richard Lee wrote:
>>
>>> I was just testing out the code from the book 'writing perl modules for
>>> cpan' and I am trying out below module and getting compiled error.
>>> I cannot/donot see what is wrong w/ the code.
>>>
>>> can anyone see?
>>>
>>> use
Rob Dixon wrote:
Richard Lee wrote:
I was just testing out the code from the book 'writing perl modules for
cpan' and I am trying out below module and getting compiled error.
I cannot/donot see what is wrong w/ the code.
can anyone see?
use strict;
use warnings;
package BOA::Logger2;
use
Rob Dixon wrote:
Richard Lee wrote:
I was just testing out the code from the book 'writing perl modules for
cpan' and I am trying out below module and getting compiled error.
I cannot/donot see what is wrong w/ the code.
can anyone see?
use strict;
use warnings;
package BOA::Logger2;
use
On line 58... Wait! You only got 47 lines. How does line 62 have an error?
The last subroutine starts off:
sub {
Giving it a name ought to fix it all up, I think.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Richard Lee wrote:
> I was just testing out the code from the book 'writing perl modules for
> cpan' and I am trying out below module and getting compiled error.
> I cannot/donot see what is wrong w/ the code.
>
> can anyone see?
>
> use strict;
> use warnings;
>
>
> package BOA::Logger2;
> us
I was just testing out the code from the book 'writing perl modules for
cpan' and I am trying out below module and getting compiled error.
I cannot/donot see what is wrong w/ the code.
can anyone see?
use strict;
use warnings;
package BOA::Logger2;
use Carp qw(croak);
use IO::File;
#construc