help with perl code
From: mike (s99999999s2003_at_yahoo.com)
Date: 12/31/03
- Next message: Liang: "array operations"
- Previous message: Liang: "Re: parse unix-style difference reporting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Dec 2003 20:57:05 -0800
hi
i have written some perl code like this
$telnetcmd << "EOF";
perl -ne "chdir(/tmp); while ($file = <*.txt>) { print stat($file); }"
EOF
print $telnetcmd;
it give me some errors:
syntax error at ./test.pl line 3, near "-ne"
Semicolon seems to be missing at ./test.pl line 3.
Execution of ./test.pl aborted due to compilation errors.
what is wrong with the code...?? thanks
- Next message: Liang: "array operations"
- Previous message: Liang: "Re: parse unix-style difference reporting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|