Thread Variablen scriptübergreifend (3 answers)
Opened by Marie at 2011-03-17 09:42

bianca
 2011-03-17 10:25
#146587 #146587
User since
2009-09-13
7016 Artikel
BenutzerIn

user image
Das erreichst du, indem du die Variable weiter gibst.

z.B.

Code (perl): (dl )
1
2
3
4
5
6
my $var = 'test';
test ($var);

sub test {
  print "\$var = $_[0]\n";
}
10 print "Hallo"
20 goto 10

View full thread Variablen scriptübergreifend