Hi Trystan,

On Sun, 6 Nov 2011 16:28:03 -0600
Trystan <trysta...@gmail.com> wrote:

> Hi. I've written few libraries I'd like to release on CPAN and I'm looking
> for some advice on how to name them.
> 
> I found this idea in Head First OOA&D<http://headfirstlabs.com/books/hfooad/>,
> chapter 5. It's somewhat like a very simple version of Key-Value
> Coding<http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/KeyValueCoding/Articles/Overview.html%23//apple_ref/doc/uid/20001838-SW1>.
> It's also very similar to
> Object::Generic<http://search.cpan.org/%7Ejmahoney/Object-Generic-0.13/lib/Object/Generic.pm>but
> I didn't use AUTOLOAD and I implemented 'equals' and 'contains'
> methods
> in order to make the objects searchable within a container.
> 
> Here's an example:
> 
>  my $a = tbd_name::Object->new();
>  my $b = tbd_name::Object->new();
> 

You shouldn't call lexical variables "$a" and "$b":

http://perl-begin.org/tutorials/bad-elements/#vars-a-and-b

Sorry I cannot help with the actual issue.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Chuck Norris/etc. Facts - http://www.shlomifish.org/humour/bits/facts/

I may be a geek, but I’m a true Klingon geek‐warrior! And a true Klingon geek
warrior ALWAYS bottom‐posts.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Reply via email to