Gerald Wheeler wrote:
John,
I am getting compile errors..
As for $! I am running Solaris 9 SPARC 64-bit..
errors:
# perl -c readFiles.pl
"my" variable $file_out masks earlier declaration in same scope at
readFiles.pl line 10.
"my" variable $file_out masks earlier declaration in same statement at
readFiles.pl line 10.
syntax error at readFiles.pl line 10, near "open "
Can't use global $! in "my" at readFiles.pl line 10, near "$file_out'
$!"
Can't use global $1 in "my" at readFiles.pl line 21, near "-$1"
readFiles.pl had compilation errors.
Thanks... ever so much for the help..
Copy and paste the contents of readFiles.pl into an email and post it. Also
include the results of running:
perl -v
on the commamd line. The code I posted works fine here on Linux using Perl
version 5.8.8.
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/