variables are variable

This commit is contained in:
Dan Buch 2011-01-03 21:56:01 -05:00
parent b66d2832d6
commit f11267e7f3

View File

@ -2,6 +2,10 @@
use strict; use strict;
use warnings; use warnings;
my $firstname = "John"; my $firstname = "Jonathan";
print "Hello, $firstname\n"; print "Hello, $firstname\n";
$firstname = "John";
print "Goodbye, $firstname\n";