nkpgmartin has asked for the wisdom of the Perl Monks concerning the following question:
into my script i get the following error: Can't fine string terminator " eod" anywhere before EOF at (eval 1) line 333. where all variables are properly defined. why can't i get eod to work? btw, line 333 is a blank line and there are no problems in that part of the script if i remove the eod/eof stuff.$log = "/tmp/log \n"; $command = <<eod; ftp $host << eof > $log; user $user password $passwd put $spath[$i] $dpath[$i] bye eof eod
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: eod/eof error in perl script
by tye (Sage) on Apr 09, 2001 at 21:22 UTC | |
by nkpgmartin (Sexton) on Apr 09, 2001 at 21:28 UTC | |
|
Answer: eod/eof error in perl script
by nardo (Friar) on Apr 09, 2001 at 21:20 UTC |