> for example, says() is alias to print().

sub says
{
    print "$_\n" foreach @_;
}


On Wed, Sep 4, 2019 at 1:17 AM Wesley Peng via beginners
<beginners@perl.org> wrote:
>
> Hello,
>
> How to make a function alias in perl? for example, says() is alias to
> print().
>
> thanks.
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>


-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to