develooper Front page | perl.perl5.porters | Postings from January 2009

Re: [PATCH] Re: [PATCH] File::Copy & permission bits.

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
January 26, 2009 01:51
Subject:
Re: [PATCH] Re: [PATCH] File::Copy & permission bits.
Message ID:
20090126095111.GA15324@klangraum.plasmasturm.org
* Charles Bailey <bailey.charles@gmail.com> [2009-01-25 05:15]:
> - Remove Scalar::Util. It looks possible to replace the
>   blessed() and overload() checks with something like
>     my $ra = ref $a;  "$a" !~ /^$ra\(0x[0-9a-f]+\)$/
>   but I need to think it through a bit more and test it.

`blessed` can be written `UNIVERSAL::can( $var, 'can' )`.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About