in reply to convert ascii2ebcdic and send via ftp

Looks like a typo. Line 30 should read:
open TR, "ascii2ebcdic $file |" or die $!; # Or FQ path

--
I'm Not Just Another Perl Hacker

Replies are listed 'Best First'.
Re^2: convert ascii2ebcdic and send via ftp
by Grygonos (Chaplain) on Jun 24, 2004 at 15:09 UTC
    Just a small addendum to this. It will not pack or zone anything.. its a simple lookup table conversion mechanism (unless I'm mistaken) So if your IBM machine needs packed or zoned data I would look to a different solution.
      hi Gryngos

      which solution you mean ?
      I've corrected the code but still get error:
      Can't exec "ascii2ebcdic": No such file or directory at conv1.cgi line 30.
      No such file or directory at conv1.cgi line 30.

      If this script doesn't work, I don't have any chance to try this solution first.
      I found in the Internet about this module:
      http://search.cpan.org/~cxl/Convert-EBCDIC-0.06/lib/Convert/EBCDIC.pm
      but don't know how it should work in my case.

      greetings
      cc