Majian wrote:
Dear list:
Hello,
I have a question on learning Perl . Please give me a help .
The problem is :
How can I split a string into chunks of size n bytes?Like this :
#!/usr/bin/perl
my $string = "1234567890abcdefghijABCDEFGHIJK";
my $n = 2;# $n is group size.
my @groups =
At 9:35 AM +0800 10/21/09, Majian wrote:
Dear list:
I have a question on learning Perl . Please give me a help .
The problem is :
How can I split a string into chunks of size n bytes?Like this :
#!/usr/bin/perl
my $string = "1234567890abcdefghijABCDEFGHIJK";
my $n = 2;# $n is group siz
Majian wrote:
> Dear list:
> I have a question on learning Perl . Please give me a help .
>
> The problem is :
>
> How can I split a string into chunks of size n bytes?Like this :
> #!/usr/bin/perl
use strict;
use warnings;
>
> my $string = "1234567890abcdefghijABCDEFGHIJK";
> my $n = 2;
Dear list:
I have a question on learning Perl . Please give me a help .
The problem is :
How can I split a string into chunks of size n bytes?Like this :
#!/usr/bin/perl
my $string = "1234567890abcdefghijABCDEFGHIJK";
my $n = 2;# $n is group size.
my @groups = unpack "a$n" x (length( $st
Dear list:
I have a question on learning Perl . Please give me a help .
The problem is :
How can I split a string into chunks of size n bytes?Like this :
#!/usr/bin/perl
my $string = "1234567890abcdefghijABCDEFGHIJK";
my $n = 2;# $n is group size.
my @groups = unpack "a$n" x (length( $st
Hongyi Zhao wrote:
> Hi all,
>
> I want to write a script to note specific IP
> addresses by appending the corresponding location informations. For
> detail, I describe my issue as follows:
>
> Suppose I have two files, the first file is used to store the specific
> IP
> addresses which I want
On Mon, Oct 19, 2009 at 9:12 AM, Shawn H Corey wrote:
> Taylor, Andrew (ASPIRE) wrote:
>> Is there a 2GB filesize limit for perl? - we're running on verion 5.6.
>
> There is no file limit in Perl. There is no memory limit in Perl. Such
> limits are because of:
>
> * the hardware,
> * the OS,
> *
Hi all,
I want to write a script to note specific IP
addresses by appending the corresponding location informations. For
detail, I describe my issue as follows:
Suppose I have two files, the first file is used to store the specific
IP
addresses which I want to note, and the second file is used
On Mon, 19 Oct 2009 23:30:30 -0500, Harry Putnam wrote:
> Shawn H Corey writes:
>
>> http://search.cpan.org/~mgrabnar/File-Tail-0.99.3/Tail.pm
>
> Thanks that looks useful. Is there a reason why I should use that
> module as apposed to the kind of code offered in the faq about tail?
> (perldoc
Harry Putnam wrote:
> Shawn H Corey writes:
>
>> http://search.cpan.org/~mgrabnar/File-Tail-0.99.3/Tail.pm
>
> Thanks that looks useful. Is there a reason why I should use that
> module as apposed to the kind of code offered in the faq about
> tail? (perldoc -q tail) as suggested by another p
10 matches
Mail list logo