Re: Interpolation of backslash-escapes

2006-11-04 Thread Randal L. Schwartz
> "Rob" == Rob Dixon <[EMAIL PROTECTED]> writes: >> Can anybody think of an elegant solution? Rob> eval "qq($val)"; s/elegant/hacky, dangerous, broken/ Consider $val = "), $yourcode_here, (". -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehe

Re: Perl Inheritance(take-2)

2006-11-04 Thread Muttley Meen
On 11/3/06, Mumia W. <[EMAIL PROTECTED]> wrote: Please bottom-post. Why should a call to Create() on an object returned by Package2() updatethe object $a ? It shouldn't normally update the containing object, and it doesn't in your program. For your education, try this, print "Inside ERR:\t",

how to print "\n" in the output file

2006-11-04 Thread Mihir Kamdar
hi, I am a beginner in Perl. I am trying to automatically generate a perl test case file which, on executing, would return HTTP response code and response time,etc. In the output file that I am getting I want the following line: print "\n" ; Any Suggestions?? thanks, Mihir

Re: how to print "\n" in the output file

2006-11-04 Thread Mazhar
On 11/4/06, Mihir Kamdar <[EMAIL PROTECTED]> wrote: hi, I am a beginner in Perl. I am trying to automatically generate a perl test case file which, on executing, would return HTTP response code and response time,etc. In the output file that I am getting I want the following line: print "\n" ;

Re: how to print "\n" in the output file

2006-11-04 Thread Ron Smith
--- Mazhar <[EMAIL PROTECTED]> wrote: > On 11/4/06, Mihir Kamdar <[EMAIL PROTECTED]> > wrote: > > > > hi, > > > > I am a beginner in Perl. I am trying to > automatically generate a perl test > > case file which, on executing, would return HTTP > response code and > > response > > time,etc. In the

Re: Interpolation of backslash-escapes

2006-11-04 Thread Rob Dixon
Randal L. Schwartz wrote: "Rob" == Rob Dixon <[EMAIL PROTECTED]> writes: Can anybody think of an elegant solution? Rob> eval "qq($val)"; s/elegant/hacky, dangerous, broken/ Consider $val = "), $yourcode_here, (". Old news, out of context, petulant. Rob -- To unsubscribe, e-mail: [EMAIL P

Re: Hi, Everyone, I can't install perl modules correctly using CPAN, why?

2006-11-04 Thread Jen Spinney
On 11/3/06, Jeff Pang <[EMAIL PROTECTED]> wrote: > >Hi, everyone, > >When I want to install perl module WWW::Yahoo::KeywordExtractor in > >my Ubuntu damper 6.06 OS, it doesn't work properly. Looks like something with XML is wrong. Give a try to install XML::SAX::Expat and XML::Simple at first

Re: Perl Inheritance(take-2)

2006-11-04 Thread Mumia W.
On 11/04/2006 06:05 AM, Muttley Meen wrote: On 11/3/06, Mumia W. <[EMAIL PROTECTED]> wrote: Please bottom-post. Why should a call to Create() on an object returned by Package2() update the object $a ? It shouldn't normally update the containing object, and it doesn't in your program. For you

Re: how to print "\n" in the output file

2006-11-04 Thread Mihir Kamdar
thanks to all, i was able to solve the problem with your guidance. The code below worked for me: print OUTPUTSCRIPT "print qq|\\n|; "; Now I want to calculate the response time that web server took for a particular request(GET/POST). My output script is something like the following: my $req20