On Tue, May 1, 2018 at 4:49 AM, ToddAndMargo <toddandma...@zoho.com> wrote:

> .sub is a method call and I can't write them.  They come with Perl.
>

You can write them. But they are 'method', not 'sub', and must be defined
within a class.

If you put 'is export' on a method so defined, it can become a sub at the
same time. But this is slapping names into someone else's namespace without
warning when they import your module, which is just a little antisocial.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to