Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
As stated above, everything works great (unless I have inadvertantly introduced some typos.) But... I would be happier if I could issue the call to LI() in the sixth line of PrintMessage(%# The main subroutine in question sub MessagePrinter { my(@logmessages) = @_; ULStart(); foreach $message (@logmessages) { LI(); Strong($message); } ULEnd(); } ############################################ # Suppporting subroutines sub ULStart { print "<UL>"; } sub LI { my($inputValue) = @_; print "<LI>$inputValue\n"; } sub ULEnd { print "</UL>"; } ######################################
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: function(function(noFunction?))
by Anonymous Monk on Feb 09, 2000 at 08:36 UTC | |
|
RE: function(function(noFunction?))
by btrott (Parson) on Feb 09, 2000 at 02:18 UTC |