At 12:53 +0100 23-03-2001, Anette Seiler wrote:
>#!/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";
>
></script>
>
>The result of this script is:
>
>'s dog, Rex, ate 12.5 pounds of dog food.
>
>and not
>
>Elizabeth 's dog, Rex, ate 12.5 pounds of dog food.
It got me baffled for a while, until I noticed you didn't put a
semi-colon after 'use strict'
Try
use strict;
A common error, so not too worry!
Axel
________________________
Axel M. Roest | AXEL Development & Support
[EMAIL PROTECTED] | Macintosh developer & UNIX sysadmin
http://www.axel.nu | XOIP: 020-8749988