Re: perl like tail -f

2009-10-20 Thread Shawn H Corey
Harry Putnam wrote: Shawn H Corey shawnhco...@gmail.com 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

Re: perl like tail -f

2009-10-20 Thread Peter Scott
On Mon, 19 Oct 2009 23:30:30 -0500, Harry Putnam wrote: Shawn H Corey shawnhco...@gmail.com 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

Want to write a script to note specific IP addresses.

2009-10-20 Thread Hongyi Zhao
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

Re: Filesize limit for Perl on UNIX

2009-10-20 Thread Robert Citek
On Mon, Oct 19, 2009 at 9:12 AM, Shawn H Corey shawnhco...@gmail.com 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,

Re: Want to write a script to note specific IP addresses.

2009-10-20 Thread Shawn H Corey
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 to

Re: How to set a proxy server.

2009-10-20 Thread Majian
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(

How can I split a string into chunks of size n bytes?

2009-10-20 Thread Majian
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(

Re: How can I split a string into chunks of size n bytes?

2009-10-20 Thread Shawn H Corey
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;# $n is

Re: How to set a proxy server.

2009-10-20 Thread Jim Gibson
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

Re: How to set a proxy server.

2009-10-20 Thread John W. Krahn
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 =