summaryrefslogtreecommitdiffstats
path: root/Bachelor/Systemprogrammierung in Perl/examples/hello2.pl
blob: 26c1e550e98b4509cd5eb7401ef890553f5a4716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/Perl/bin
use strict;
use warnings;
# dieses Programm ist schon ein bisschen besser,
# aber der Kommmentar ist noch voellig sinnlos
 
my $hello = "hello";
my $world = "world";

# Hier wird gezeigt, dass man dem Print eine ganze Liste mitgeben kann, die
# dann nacheinander verarbeitet werden

print $hello," ", $world, "\n";