in reply to Re: A Class:: module I don't want to write
in thread A Class:: module I don't want to write
Problems:
As for CMM, my response got long enough that I made it a meditation.
Update: I finally got CMM to install and this failed with a "Can't coerce array into hash" message:
{ package Foo; use Class::MethodMaker [ scalar => 'name']; sub new { bless [], shift } } my $foo = Foo->new; use Data::Dumper; print $foo->name, $/; print Dumper $foo;
If I switch that to a hashref, it works. A module adding methods to my class shouldn't make assumptions about the implementation.
Cheers,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A Class:: module I don't want to write
by esharris (Monk) on Nov 23, 2005 at 07:16 UTC | |
|
Re^3: A Class:: module I don't want to write
by perrin (Chancellor) on Nov 23, 2005 at 11:53 UTC | |
by Perl Mouse (Chaplain) on Nov 23, 2005 at 12:01 UTC | |
by Martynoff (Initiate) on Nov 23, 2005 at 14:05 UTC | |
by Perl Mouse (Chaplain) on Nov 23, 2005 at 14:38 UTC |