>#!/usr/bin/perl > >use strict > >my $owner = 'Elizabeth'; >my $dog = 'Rex'; >my $amount = '12.5'; >my $what = 'dog food'; > >print "${owner}'s dog, $dog, ate $amount pounds of $what.\n"; The semicolon ";" is missing right after "use strict". BTW, always run with warnings, i.e. #!/usr/bin/perl -w good luck Axel
- [MacPerl] Curly braces Anette Seiler
- Re: [MacPerl] Curly braces Axel Rose
- Re: [MacPerl] Curly braces Axel M. Roest