in reply to Re^2: how i capture a script error to a file ?
in thread how i capture a script error to a file ?

eval dont work on me :(
Number found where operator expected at ./test3.pl line 21, near "1" (Missing semicolon on previous line?) syntax error at ./test3.pl line 21, near "1" Execution of ./test3.pl aborted due to compilation errors.

Replies are listed 'Best First'.
Re^4: how i capture a script error to a file ?
by shmem (Chancellor) on Apr 27, 2017 at 13:35 UTC

    Missing ; after the eval { } , corrected. Sorry. We all write our own bugs :-(

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'