Char-UHC
view release on metacpan or search on metacpan
- glob @ARGV when [?*] included only
- avoid warning in Esjis::e
- flock on write and read script
- add substitute modules (Fcntl.pm and Symbol.pm)
- remove modules (Carp.pm and FindBin.pm)
- created by INABA Hitoshi
0.49 2010-02-10 00:00:00
- add perl512.bat
- redefined character class \d \s \w for perl 5.11 or later
- fix test.pl and comment of BUGS AND LIMITATIONS about /o modifier
- created by INABA Hitoshi
0.48 2010-01-28 00:00:00
- Call Module->import() when Module->can('import') is true only
- No escape when require jcode.pl and jacode.pl
- Remove limitation of two or more here-documents in a line
- created by INABA Hitoshi
0.47 2010-01-02 00:00:00
- shorten script of EUCJP.pm and UTF2.pm
lib/Euhc.pm view on Meta::CPAN
Euhc::require(...);
Euhc::telldir(...);
# "no Euhc;" not supported
=head1 ABSTRACT
This module has run-time routines for use UHC software automatically, you
do not have to use.
=head1 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 UHC 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.
=head1 HISTORY
lib/Euhc.pm view on Meta::CPAN
$chdir = Euhc::chdir($dirname);
$chdir = Euhc::chdir;
This subroutine changes the current process's working directory to $dirname, if
possible. If $dirname is omitted, $ENV{'HOME'} is used if set, and $ENV{'LOGDIR'}
otherwise; these are usually the process's home directory. The subroutine returns
true on success, false otherwise (and puts the error code into $!).
chdir("$prefix/lib") || die "Can't cd to $prefix/lib: $!";
This subroutine has limitation on the MSWin32. See also BUGS AND LIMITATIONS.
=item * Do file
$return = Euhc::do($file);
The do FILE form uses the value of FILE as a filename and executes the contents
of the file as a Perl script. Its primary use is (or rather was) to include
subroutines from a Perl subroutine library, so that:
Euhc::do('stat.pl');
( run in 1.666 second using v1.01-cache-2.11-cpan-4d50c553e7e )