I copy and pasted what you sent, and it works fine for me. Strange?!!?
Jason
-Original Message-
From: Craig Sharp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 10:49 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] need qw help
Hi all,
I have the following
Hi all,
I have the following short script that does not work:
#!/usr/bin/perl
@pvlist = qw{
/dev/dsk/c0t9d0
/dev/dsk/c0t10d0
/dev/dsk/c0t11d0
};
foreach (@pvlist) {
print "$_\n";
}
I am getting the following error:
syntax error in file pvcfg at line