Thread variable sub (11 answers)
Opened by Strazke at 2005-09-15 21:11

esskar
 2005-09-16 03:23
#58057 #58057
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
dann benutzt du es falsch

Code: (dl )
1
2
3
4
5
6
7
8
9
use strict;

sub foo {
print "foo\n";
}

if(my $code = main->can('foo')) {
$code->();
}

View full thread variable sub