On 11/23/2007 03:28 AM, Marco Mescoli wrote:
> Is it possible declare and call a perl function inside user tag ?
> Digged mailing list without any example ...
I usually do something like:
...................
# Declare sub foo
my $foo = sub {
my ($bar, $baz) = @_;
}
# Call foo
&$foo($bar, $baz);
...................
I think you can also just declare the sub and call it, but I've never
tried it. I know the above works, though.
Peter
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.