$first_name = 'Brian';
$last_name = 'Jepson';
$full_name = "$first_name $last_name"; |
$banana_count = 20;
print "$full_name has $banana_count bananas.\n"; |
@people = ('Brian', 'Oscar', 'Lotus'); |
$favorite_color{Brian} = 'blue';
$favorite_color{Lotus} = 'lime';
print "Brian's favorite is $favorite_color{Brian}.\n"; |
| Forward to 20 Minutes: Comparisons
Back to Perl in 20 Minutes Up to PerlInside section index Up to Perl Inside course index |
Perl Inside: PerlInside - 9
Copyright © 1999, Brian Jepson
|