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

Re: deprecating Switch.pm

Thread Previous | Thread Next
From:
Zefram
Date:
February 27, 2009 00:00
Subject:
Re: deprecating Switch.pm
Message ID:
20090227080013.GH7057@fysh.org
Aristotle Pagaltzis wrote:
>BEGIN { eval 'use deprecate' if $] >= 5.11 }

This hides an error if deprecate can't be loaded.

-zefram

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