Thread Funktionsaufruf per String eval
(17 answers)
Opened by Escape at 2008-08-02 21:12 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 #!/usr/bin/perl -w use strict; my $x = 'test'; no strict 'refs'; my @x = $x->(); print "@x"; sub test { my @array =qw(a b c d); return @array } |