On 2/26/13 1:48 AM, yunbin wang wrote:
Now , I want run perl script in java, but I can't install perl on the
machine, only I can copy the perl files(those installed on other
machine) to that machine.
so how can I initial perl INC in java that I can run perl in my java program?
This is a Perl pr
Now , I want run perl script in java, but I can't install perl on the
machine, only I can copy the perl files(those installed on other
machine) to that machine.
so how can I initial perl INC in java that I can run perl in my java program?
--
Best Regards !
--
To unsubscribe, e-mail: beginners-
On Sun, Feb 24, 2013 at 11:17:40PM -0300, Brian Fraser wrote:
> my $over = '';
> while ( sysread( $fh, $over, 8192, length($over) ) ) {
> while ( $over =~ /\R/ ) {
> my $line = encode('UTF-8', substr($over, 0, $+[0], ''));
I think you meant decode. :) Decode input, encode output. The
int