INABA Hitoshi > japerl > japerl

Download:
japerl/japerl-0.06.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

japerl - JPerl-again Perl glocalization scripting environment

SYNOPSIS ^

  japerl [switches] [--] [script.pl] [arguments]

DESCRIPTION ^

japerl provides glocalization script environment on both modern Perl and traditional Perl by using Sjis software family.

This software is useful also for

You can get "JPerl5.6" on perl 5.00503 using Sjis software family, japerl.bat, Modern::Open, and Fake::Our! Yay!!

Today, you can also use Strict::Perl, Char and jacode.pl.

May you do good magic with japerl.

INSTALLATION ^

1. Install a member of Sjis software family.
2. Copy japerl.bat and japerl.bat.conf to any directory.
3. Customize japerl.bat.conf.

japerl.bat.conf Sample on perl 5.00503 ^

  # Configuration file of japerl.bat
  +{
      PERL5BIN => 'C:/Perl/bin/perl.exe',
      PERL5LIB => [ qw(lib) ],
      ENCODING => 'Sjis',
      PERL5OPT => '-MModern::Open',             # for perl 5.00503, see http://search.cpan.org/dist/Modern-Open/
  #   PERL5OPT => '-MModern::Open -MFake::Our', #                   see http://search.cpan.org/dist/Fake-Our/
  }
  __END__

japerl.bat.conf Sample ^

  # Configuration file of japerl.bat on other version
  +{
      PERL5BIN => 'C:/Perl520/bin/perl.exe', # perl 5.020
      PERL5LIB => [ qw(lib) ],
      ENCODING => 'Sjis',
  #   ENCODING => do { require FindBin; require "$FindBin::Bin/Char.pm"; Char::from_chcp_lang(); }, # autodetect sample
  }
  __END__

File Allocation Sample ^

  ./japerl.bat
  ./japerl.bat.conf
  ./lib/Sjis.pm
  ./lib/Esjis.pm
  ./lib/Modern/Open.pm   --- on perl 5.00503
  ./lib/Fake/Our.pm      --- on perl 5.00503
  ./lib/Strict/Perl.pm   --- on demand
  ./lib/Char.pm          --- on demand
  ./lib/Stable/Module.pm --- on demand
  ./lib/jacode.pl        --- on demand

User Script Sample ^

  #!japerl.bat
  use Strict::Perl 2014.10;
  use Stable::Module;
  require 'jacode.pl';
  $::VERSION = 0.01;
  
  print "Hello, parallel worlds!\n";
  
  __END__

BUGS and LIMITATIONS ^

I have tested and verified this software using the best of my ability. However, a software containing much regular expression is bound to contain some bugs. Thus, if you happen to find a bug that's in Sjis software and not your own program, you can try to reduce it to a minimal test case and then report it to the following author's address. If you have an idea that could make this a more useful tool, please let everyone share it.

AUTHOR ^

INABA Hitoshi <ina@cpan.org>

This project was originated by INABA Hitoshi.

LICENSE AND COPYRIGHT ^

This software is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO ^

syntax highlighting: