Thread Kommandozeilenparameter übergeben (43 answers)
Opened by franc at 2011-01-17 16:34

bianca
 2011-01-19 10:52
#144824 #144824
User since
2009-09-13
6980 Artikel
BenutzerIn

user image
Und was sollte man damit dann anfangen?

Code (perl): (dl )
1
2
3
4
5
6
7
#!/usr/bin/perl -w
use strict;
use warnings;
use constant TRUE => 1;
use constant FALSE => 1;
my $a;
if ($a == TRUE) { print "true\n" }


Edit: Ausgabe:
Code: (dl )
Use of uninitialized value $a in numeric eq (==) at test.pl line 7.

Last edited: 2011-01-19 10:55:05 +0100 (CET)
10 print "Hallo"
20 goto 10

View full thread Kommandozeilenparameter übergeben