Re: Inline::PERL
Jonathan Peterson wrote: Oh, and I think the thing about readdir returning the first entry of an array in scalar context is dumb. That isn't DWIM. Returning the number of entries in the directory would be about a million times more sensible (especially if it didn't count . and .. as entries). Next you'll be saying that in scalar context should return the number of lines in the file. Cheers, Phi while($file = readdir BLA) { process($file) } lip -- Philip Newton [EMAIL PROTECTED] All opinions are my own, not my employer's. If you're not part of the solution, you're part of the precipitate.
Re: Inline::PERL
On Sunday, June 3, 2001, at 05:56 AM, David H. Adler wrote: On Fri, Jun 01, 2001 at 09:40:49AM +0100, Cross David - dcross wrote: Inline::PERL gives you the power of the PERL programming language from And what, exactly, is the PERL programming language? It is the wicked, twisted spectre of Perl that haunts the minds of script kiddies. In some cultures it is known as CGI; other cultures have no name for it. Well-informed people normally run when they encounter it. A saving throw against mental instability applies. Marcel -- $ perl -we time Useless use of time in void context at -e line 1.
Re: Inline::PERL
* Marcel Grunauer ([EMAIL PROTECTED]) wrote: On Sunday, June 3, 2001, at 05:56 AM, David H. Adler wrote: On Fri, Jun 01, 2001 at 09:40:49AM +0100, Cross David - dcross wrote: Inline::PERL gives you the power of the PERL programming language from And what, exactly, is the PERL programming language? It is the wicked, twisted spectre of Perl that haunts the minds of script kiddies. In some cultures it is known as CGI; other cultures have no name for it. Well-informed people normally run when they encounter it. A saving throw against mental instability applies. Most of characters are excused these sorts of saving throws as they are too twisted/evil to get freaked by whatever demanding the ST. -- Greg McCarrollhttp://217.34.97.146/~gem/
Re: Inline::PERL
On Fri, Jun 01, 2001 at 09:40:49AM +0100, Cross David - dcross wrote: Inline::PERL gives you the power of the PERL programming language from And what, exactly, is the PERL programming language? dha -- David H. Adler - [EMAIL PROTECTED] - http://www.panix.com/~dha/ Sometimes these hairstyles are exaggerated beyond the laws of physics - Unknown narrator speaking about Anime
Re: Inline::PERL
At 09:40 01/06/01 +0100, you wrote: Another gem from Perlmonks. I'm thinking I should post this one to the Cookwood board :) It was in the unforgettable episode on 23rd May when bk said: Yay! You have now totally redeemed yourself in my mind. I'm sorry... I seem to have missed the class on the usage of the different kinds of OR operators. Since then Bk and Dave's relationship has got better and better, with smiley faces common place and good humour generally prevalent. But does Bk harbour underlying resentment? Is he luring Dave into a false sense of security? Has his programming actually improved any? It's better than enders! Oh, and I think the thing about readdir returning the first entry of an array in scalar context is dumb. That isn't DWIM. Returning the number of entries in the directory would be about a million times more sensible (especially if it didn't count . and .. as entries). -- Jonathan Peterson Technical Manager, Unified Ltd, 020 7383 6092 [EMAIL PROTECTED]