The following module was proposed for inclusion in the Module List:
modid: Usage::Sub
DSLIP: adpfp
description: issueing subroutine/method usage
userid: HASANT (Hasanuddin Tamir)
chapterid: 3 (Development_Support)
communities:
comp.lang.perl.misc
similar:
rationale:
Usage::Sub provides functions to issue usage message from
subroutine/method. These functions will die and print message such
usage: turn_on(NAME, COLOR [, INTENSITY]);
when called in subroutine like
sub turn_on { @_ >= 2 or usage 'NAME, COLOR [, INTENSITY]'; #
process continues }
I saw the Usage root namespace in CPAN so I think Usage::Sub is
approriate.
enteredby: HASANT (Hasanuddin Tamir)
enteredon: Sat Feb 23 10:43:24 2002 GMT
The resulting entry would be:
Usage::
::Sub adpfp issueing subroutine/method usage HASANT
Thanks for registering,
The Pause Team
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=ea000000_a332c538200e5d6f&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=ea000000_a332c538200e5d6f&SUBMIT_pause99_add_mod_insertit=1