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
In reply to eod/eof error in perl script by nkpgmartin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |