Front page | perl.perl5.porters |
Postings from March 2000
Re: AUTOLOADREF
Thread Previous
|
Thread Next
From:
M.J.T. Guy
Date:
March 17, 2000 07:23
Subject:
Re: AUTOLOADREF
Message ID:
E12Vyau-0004zO-00@ursa.cus.cam.ac.uk
Ilya Zakharevich <ilya@math.ohio-state.edu> wrote
> In the symbol table, the same way as overload subroutines, with name
> similar to ")body".
Yukk! I'd regard kludgy names like as much worse than another
special subroutine name. But that's a matter of taste.
> No. In my style the interpreter knows which thing is provided, and
> which is not.
Why does the interpreter need to know? If you don't want one
of the functions, just make your subroutine return 'undef' in that
case.
Mike Guy
Thread Previous
|
Thread Next