piyush.shourie has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks,

I want to use encode functionality in Perl 5.6.1. However, the Perl Module Encode-2.08 works only on Perl 5.7.3 or higher versions of Perl. And the problem arises because I cant upgrade the Perl from 5.6.1.

Please suggest me any other module that could be used for encoding with Perl 5.6.1, or suggest me a hack to make the Encoding-2.08 work with Perl 5.6.1.

Thanks in advance,
PS

Replies are listed 'Best First'.
Re: Encoding in Perl
by neilh (Pilgrim) on Nov 02, 2004 at 08:13 UTC
      Hi Neilh,

      Thanks for pointing me to the discussion forum referred by the link you provided.

      The discussion forum does touch the point I was asking, and Encode::Compat module might be used for Encoding in perl 5.6.1. Will let you know if it works fine (only if you want to know about it.).

      Cheers!!
      Piyush

Re: Encoding in Perl
by borisz (Canon) on Nov 02, 2004 at 08:38 UTC
      Borisz,

      Thanks for the update.
      But I am not able to compile Text::IConv module on Windows. However, when I try to run “perl Makefile.PL”, the error message “Checking for iconv ... The system cannot find the path specified.” Comes up.

      Please suggest some way to build the said module.

      If we need IConv to be installed (pre-requisite ), please let me know some web-site where I can get the same for Windows.

      Thanks in advance,
      Piyush