in reply to Easily catalog subroutines with a synopsis comment
Then in my editor, if I select the word addrecord in my code and hit Ctrl+', I'll see the "USAGE" line.sub addrecord { #****m* DataFile/addrecord # USAGE # $bdlfile->addrecord([field => value, field => value...]) # Create a record and initialize it according # to file format (POF, BDL) # RETURNS # obj ref DataRecord #*** my $self = shift; my %data = @_; }
|
|---|