Re: BoB

2002-03-06 Thread Stephen Turner
On Wed, 6 Mar 2002 [EMAIL PROTECTED] wrote: Actually, Stephen is my dark horse tip to win the tournament. Why? This is Turner's 3rd Golf Tournament, and he's only lost twice. Tee hee. Still, this morning's leaderboard makes me feel a bit out of my depth. I was only 2 strokes behind

Re: is perl a reporting tool ?

2002-03-06 Thread Dave Cross
On Wed, Mar 06, 2002 at 12:06:14PM -0500, Selector, Lev Y ([EMAIL PROTECTED]) wrote: Hello, I searched for OLAP on perl.com and CPAN (and perl olap on Google) - got no entries. Also there is nothing on data warehousing in the perl world. Am I missing something? I thought Perl is

Re: TPR course Beginner vs. Veteran

2002-03-06 Thread Jean-Pierre Vidal
Le Mercredi 6 Mars 2002 15:55, Chris Dolan a écrit : [...] However, I should say that the more I read the fwp archives, the more intimidated I get! I didn't realize how much I had handicapped myself by not upgrading perl5.6.0-5.6.1!!! :-) Chris I realize how much I had handicapped myself

Re: is perl a reporting tool ?

2002-03-06 Thread Michael G Schwern
On Wed, Mar 06, 2002 at 12:06:14PM -0500, Selector, Lev Y wrote: Hello, I searched for OLAP on perl.com and CPAN (and perl olap on Google) - got no entries. Also there is nothing on data warehousing in the perl world. Am I missing something? No, but I think we are. What's OLAP? I

Re: rethinking printf

2002-03-06 Thread Randal L. Schwartz
Rich == Rich Morin [EMAIL PROTECTED] writes: Rich This seems pretty ugly to me (Randal didn't like it much either :-) Yup. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting,

Re: rethinking printf

2002-03-06 Thread Paul Makepeace
On Wed, Mar 06, 2002 at 09:45:18AM -0800, Rich Morin wrote: He suggested, when asked, that folks could put in newlines as follows: 'yada yada yada \qq{\n}' I meant to add this in last time: There is also the option of having an additional function that adds the newline in, e.g.

Re: rethinking printf

2002-03-06 Thread Uri Guttman
BC == Bernie Cosell [EMAIL PROTECTED] writes: cced perl6-language BC I wonder if the solution is to look at it the other way: that you BC have to do something to get interpolation to happen. If we look BC at it from the old adage of making the more common things simpler, BC at least

Re: rethinking printf

2002-03-06 Thread Bart Lateur
On Wed, 6 Mar 2002 17:57:07 -0500, Uri Guttman wrote: how often will you need to interpolate a hash? A whole hash: quite rarely. A hash item: a LOT. Don't forget that $foo{BAR} will now become %foo{BAR} -- Bart.

RE: rethinking printf

2002-03-06 Thread Brent Dax
Uri Guttman: # printf %d hash is $(%foo.string), $bar ; # # no ambiguity and no confusion. how often will you need to # interpolate a # hash? As others have pointed out, %foo{BAR} has to work. But I have another question for you: what's wrong with sprintf '%d hash is %s', $bar,

Re: rethinking printf

2002-03-06 Thread Yitzchak Scott-Thoennes
In article p05100339b8abfb25cfdf@[192.168.254.205], Rich Morin [EMAIL PROTECTED] wrote: Note that I'm suggesting a new function name because printf has a little-used capability that could conflict with my proposed syntax: The format string is reused as often as necessary to satisfy the

Re: rethinking printf

2002-03-06 Thread Uri Guttman
BD == Brent Dax [EMAIL PROTECTED] writes: BD Uri Guttman: BD # printf %d hash is $(%foo.string), $bar ; BD # BD # no ambiguity and no confusion. how often will you need to BD # interpolate a BD # hash? BD As others have pointed out, %foo{BAR} has to work. But I have

Re: rethinking printf

2002-03-06 Thread Rich Morin
At 5:27 PM -0800 3/6/02, Yitzchak Scott-Thoennes wrote: The format string is reused as often as necessary to satisfy the arguments. Where did you get that? Not true for Perl or C. Apparently, when I did a man printf, I got the one in FreeBSD's Section 1: PRINTF(1)

Re: rethinking printf

2002-03-06 Thread Rich Morin
At 11:24 PM -0500 3/6/02, Uri Guttman wrote: qn would be just like qq but not allow any direct hash interpolations (%foo or %foo{bar}). you can always get those with $() if needed. this solves the common case with a minimal of noise and the uncommon case has a simple out of using $(). no

Re: rethinking printf

2002-03-06 Thread Dmitry Kohmanyuk
On Wed, Mar 06, 2002 at 11:24:57PM -0500, Uri Guttman wrote: that is another point. not allowing a complete hash to interpolate. but what defines that? what if you wanted %s{bar} and that was a format and not a hash and in a double quoted string? my proposal handles that well with no major

Re: rethinking printf

2002-03-06 Thread Dmitry Kohmanyuk
On Wed, Mar 06, 2002 at 08:56:18PM -0800, Yitzchak Scott-Thoennes wrote: Apparently, when I did a man printf, I got the one in FreeBSD's Section 1: The format string is reused as often as necessary to satisfy the arguments. Any extra format specifications are evaluated with zero

Re: rethinking printf

2002-03-06 Thread Ariel Scolnicov
Paul Makepeace [EMAIL PROTECTED] writes: On Wed, Mar 06, 2002 at 09:45:18AM -0800, Rich Morin wrote: He suggested, when asked, that folks could put in newlines as follows: 'yada yada yada \qq{\n}' I meant to add this in last time: There is also the option of having an additional