Re: first ip and last ip

2007-08-12 Thread pennyyh
-Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: beginners@perl.org Sent: Mon, 13 Aug 2007 1.29PM Subject: Re: first ip and last ip Hi, Take a look at Net::IP http://search.cpan.org/~manu/Net-IP-1.25/IP.pm Thanks!That works fine and is easy to use.

first ip and last ip

2007-08-12 Thread pennyyh
Hello, Given this ip range, 64.12.0.0/16 Is there any way to get the first ip and last ip in it by Perl? Thanks. Check out the new free AOL Email -- 2GB of storage and industry-leading spam and email virus protection. -

Re: Help me with an url rewrite

2007-08-10 Thread pennyyh
Hmm, then please don't post your WRONG solution sample. -Original Message- From: [EMAIL PROTECTED] To: beginners@perl.org Sent: Fri, 10 Aug 2007 6.26PM Subject: Re: Help me with an url rewrite Hmm, 1. I did not sent a solution. 2. I just suggested how you should do. 3.

Re: Help me with an url rewrite

2007-08-10 Thread pennyyh
Thank you.it works perfectly. -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: beginners@perl.org; [EMAIL PROTECTED] Sent: Fri, 10 Aug 2007 6.16PM Subject: Re: Help me with an url rewrite Hello, well this is more of a mod_rewrite question. The problem is that you

Re: Help me with an url rewrite

2007-08-10 Thread pennyyh
Sorry first. But have you looked at my question carefully? Your solution CAN'T work at all! -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; beginners@perl.org CC: [EMAIL PROTECTED] Sent: Fri, 10 Aug 2007 6.06PM Subject: RE: Help me with an url rewrite First, you are co

Help me with an url rewrite

2007-08-10 Thread pennyyh
I'm not sure if I've asked the correct lists,but hope I can get some helps here.:) I need a mod_rewrite rule,rewrite this url: http://abc.site.com/index.php?q1=v1 to: http://www.site.com/index.php?q1=v1&domain=abc I applicated this rule: RewriteEngine on RewriteRule ^/(.+)$ http://www

[OT] How do you use Perl?

2007-08-08 Thread pennyyh
Hello list, Just be curious to see how do you guys use Perl for work.Would you be pleased to give a vote below? [a] CGI/Web Development [b] System Administration [c] mod_perl -- write Apache handler [d] write commercial products [e] Biological analysis [f] others For me I primarily used it fo