As an aside, Perl 5.10 and up, you can get the "say" command by enabling extended functions: perl -E 'say "hi mom" ' hi mom\n
https://perlmaven.com/what-is-new-in-perl-5.10--say-defined-or-state a On Wed, Sep 4, 2019 at 1:08 PM Andy Bach <afb...@gmail.com> wrote: > > > 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 -- 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/