as sub prototype, and warns you that there is illegal char in the prototype.sub cleaner($dirty)
use strict; sub greeting($); greeting("Merry Christmas"); greeting("Happy New Year"); #greeting("Merry Christtmas", "and Happy new Year"); sub greeting($) { print "I say, \"", shift, "!\"\n"; }
In reply to Re: Problem creating a function
by pg
in thread Problem creating a function
by Willman023
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |