Re: Perl on Apache

2004-05-04 Thread Sumanth Sharma
Hi Philipp, Thanks a lot. It works. As you could make out, I am nascent to Apache. So It was really useful. Be prepared for more of this kind. Regards, Sumanth === "Philipp Traeder" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > N

Perl on Apache

2004-05-04 Thread Sumanth Sharma
Hi All, Pls Bare with me If I am scratching some rudimental stuff here I know perl lang Fundas. But... -- [Some Historical background for my problem {History: I want a project management system, so I plan to use Twiki.

Re: Help ME! --> Alas - Backreferences are Lexically scoped

2004-04-29 Thread Sumanth Sharma
Hi Damon, That's great. It works. I did not know that look ahead could be that helpful. Thanks a million, Sumanth Sharma "Damon Allen Davison" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I think I might be able to help you. > >

Re: How to change @INC

2004-04-28 Thread Sumanth Sharma
They are all correct in saying either unshift @INC, "your path"; or push @INC, "your path"; but better achieve this in BEGIN{} module, so that you are assured that @INC is changed before the use <>; statement is evaluated. Sumanth Sharma -- To unsubscribe, e-m

Help ME! --> Alas - Backreferences are Lexically scoped

2004-04-28 Thread Sumanth Sharma
lexically scoped to the first( the only ) parentheses in the reg-exp. So, $1 is overwritten on each match. IN SUCH A SCENARIO, IS IT POSSIBLE TO GET ALL THE MATCHES THANKS IN ADVANCE, Sumanth Sharma -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: s/// Vs tr///

2004-04-27 Thread Sumanth Sharma
"Owen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 28 Apr 2004 10:42:01 +0530 > "Sumanth Sharma" <[EMAIL PROTECTED]> wrote: > > > Can you help me figure out why need tr/// when you have s/// and > > Vice vers

s/// Vs tr///

2004-04-27 Thread Sumanth Sharma
Hi, Can you help me figure out why need tr/// when you have s/// and Vice versa ( NO, s/// is more powerful?). Thanks in Advance, Sumanth Sharma -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>

Re: Compress and email file?

2004-04-27 Thread Sumanth Sharma
Here is a sample code, use Compress::Zlib ; . . . . open(LOG,"<$log_file1")or print "cld not open $log_file1 for reading \n"; $HTML_LOG = gzopen("$log_file2", "wb",1) or print "cld not open $log_file2 for writing \n"; while () { $HTML_LOG->gzwrite($_) } clos

Re: Compress and email file?

2004-04-27 Thread Sumanth Sharma
"Graeme McLaren" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I need to compress (gzip) an html file from a cgi script before > emailing the file, any ideas how? use Compress::Zlib; check at http://search.cpan.org/author/PMQS/Compress-Zlib-1.33/Zlib.pm for more info. -

Re: Can Perl be faster than C ?

2004-04-27 Thread Sumanth Sharma
Thanks John. I think I had seen some of those graphs. I was actually looking for this info at citeseer.org. "John W. Krahn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sumanth Sharma wrote: > > > > Hi All, > > Hello, > > > Are t

Hash internals ?

2004-04-26 Thread Sumanth Sharma
Hi All, Pls throw some light on How are hashes handles internally?. Thanks in Advance, Sumanth Sharma -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Can Perl be faster than C ?

2004-04-26 Thread Sumanth Sharma
Hi All, Are there instances/scenarios where Perl can really be faster that C/C++. (Do not include coding or design time here, consider only run-time). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Why Perl

2004-04-26 Thread Sumanth Sharma
Hi All, Can some list some points where perl really stands out from other languages. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

OOPS!!

2004-04-26 Thread Sumanth Sharma
Hi All, I am quite ok with perl. But How do i learn Object oriented perl. It's so different from C++ of Java. I sort of went thro the perlboot. It looks not too friendly. How best can I learn Object orientd perl. Thanks in advance, Sumanth Sharma