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 3, next 2 tokens "qw{"
What am I doing wrong? I need to eventually be able to read each line from the list
and process it with a system call. The foreach is just a test.
Thanks,
Craig
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users