in reply to Subroutines with Parameters
That's hard to believe! :)
Putting your headline into google leads to plenty of hits, among them perlsub
example:
sub extract{ my ($filename, $filepath, $regex) = @_; # do stuff }
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|