Re: perl alias

--0015175884b652b04a04a5759a38
Content-Type: text/plain; charset=UTF-8

On Sat, Jun 11, 2011 at 5:15 PM, Mike McClain <mike.junk [at] cox.net> wrote:

>
> # set up an alias for the fastest prime generator
> *primes = \&sieve_eratosthenese_lucky;
>
>
Just use that, but wrap it in a BEGIN block.

--0015175884b652b04a04a5759a38--
Brian Fraser [ Sa, 11 Juni 2011 22:33 ] [ ID #2060917 ]
Perl » gmane.comp.lang.perl.beginners » Re: perl alias

Vorheriges Thema: Loading library different per Operating System
Nächstes Thema: Looking for comments on code