Re: test

2004-12-31 Thread Felix Li
Beside "Testing merely proves the existence of bugs." Happy New Year! - Original Message - From: "Chris Devers" <[EMAIL PROTECTED]> To: "Sandy Santra" <[EMAIL PROTECTED]> Cc: Sent: Friday, December 31, 2004 1:09 PM Subject: Re: test > On Fri, 31 Dec 2004, Sandy Santra wrote: > > > Th

looking a one liner "to return the value while clearing the argument"

2004-12-10 Thread Felix Li
Hi, Is there "a one liner" that performs the equivalent of sub ReturnAndClear { my $temp=$_[0]; $_[0]=undef; return $temp; }; TIA felix li

Re: CGI

2004-12-06 Thread Felix Li
Please let me begin by saying I know next-to-nothing about CGI so take this with a LUMP of SALT: - Original Message - From: "Matthias Kraatz" <[EMAIL PROTECTED]> To: "Brent Clark" <[EMAIL PROTECTED]> Cc: "Perl Beginners List" <[EMAIL PROTECTED]> Sent: Monday, December 06, 2004 11:39 AM Su

Re: a warning which i can't understand

2004-12-04 Thread Felix Li
Note the ''. in front of the list print ''.('January', 'February, 'March', 'April', 'May ', 'June','July', 'August', 'September','October, 'November', 'December')[-1]; - Original Message - From: "Hameed U. Khan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 05, 2004

Re: close (...) or die "$!"

2004-12-04 Thread Felix Li
uot;$!" > Chris Devers wrote: > > >On Sat, 4 Dec 2004, Felix Li wrote: > > > > > > > >>It's fairly well known that one should use "open" with an "or die". Is > >>there really any condition where "close" fa

close (...) or die "$!"

2004-12-04 Thread Felix Li
Greetings, It's fairly well known that one should use "open" with an "or die". Is there really any condition where "close" fails, making the "or die" necessary? felix

Re: Sufficient effort

2004-12-02 Thread Felix Li
terbalance to that harshness. > > Moreover, he has been one of the more helpful people on the list > recently, even if his frustration does show through when questioners > obviously aren't even trying. > > Is the list better off without him? NO, we are NOT! > >

Re: Sufficient effort

2004-12-02 Thread Felix Li
What's wrong with demonstrating to your would be teacher that you are worthy of being taught? Either I'll do it for you to prevent you from learning anything or you make an effort. Having programmed for over thirty years, I side with Gunnar. Felix Li - Original Message - Fro

Re: Sufficient effort

2004-12-01 Thread Felix Li
What's wrong with demonstrating to your would be teacher that you are worthy of being taught? Either I'll do it for you to prevent you from learning anything or you make an effort. Having programmed for over thirty years, I side with Gunnar. Felix Li - Original Message - Fro

Re: Printing to a file

2004-10-26 Thread Felix Li
print "Gunnar does not suffer fools gladly.\nSo?"; print "Try not to look like a fool!"; - Original Message - From: "JupiterHost.Net" <[EMAIL PROTECTED]> To: "Perl Lists" <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 4:01 PM Subject: Re: Printing to a file > > > [EMAIL PROTECTED

Re: adding hash to a hash

2004-09-19 Thread Felix Li
- Original Message - From: "JupiterHost.Net" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 19, 2004 6:56 PM Subject: adding hash to a hash > Howdy group, > > This seems like it should be simple, but I'm a bit stumped on the best > way to do this: > > I want to a