Re: [PATCHES] Re: Gtk2::AboutDialog trouble



* muppet <scott asofyet org> [2005-01-22 04:29]:
As a bonus, it was easy to add a special case that any
non-reference scalar would be interpreted as a single-element
list [...]. Both undef and an empty array are interpreted as
NULL (an empty string vector). Such magic may not be
desirable; what does everybody think?

I'd expect it to work this way -- very Perlish.

In my ignorance can't think of a case where it would be a
problem anyway.

Regards,
-- 
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]