Subs (Perl)

From ben.goodacre.name/tech

Jump to: navigation, search
sub transform
{
say "Frist variable $_[0]\nSecond variable $_[1]";
}

&transform;   #call sub
&transform(arg1, arg2);   #call sub with params

See Also

Calling subs from separate script

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox