summaryrefslogtreecommitdiffstats
path: root/Bachelor/Systemprogrammierung in Perl/examples/hello3.pl
blob: 6954c82e252bc0a8e372a2bbc6aa953302deeb8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/Perl/bin

# als erstes die notwendigen Sicherheitseinstellungen
use strict;
use warnings;

my ($hello, $world); # Deklaration von 2 Variablen
$hello = "hello";
$world = "hugo";

# Interpolation (Ersetzung) von Variablen funktioniert innerhalb von Strings
# die in doppelte Anfuehrungszeichen gesetzt sind
 
print "$hello $world \n";
exit;