[Wellington-pm] A "Mordac" gem
Kent Fredric
kentfredric at gmail.com
Fri Jul 24 04:46:29 PDT 2009
On Fri, Jul 24, 2009 at 12:01 PM, Douglas Bagnall
<douglas at paradise.net.nz>wrote:
> Lesley/Mordac wrote:
>
> > sub error {
> > }
>
>
> Following the previous discussion, my understanding is that this would
> be best rewritten:
>
> use constant error => undef;
>
> so the error could be optimised away (if you used the right syntax).
>
>
or you could have just added '()' to the original sub declaration and
achieved the same benefit, as well as keeping the pesky code in a place you
don't have to look at it =D
--
Kent
perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 )
for ( 9,8,0,7,1,6,5,4,3,2 );"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/wellington-pm/attachments/20090724/73718653/attachment.html>
More information about the Wellington-pm
mailing list