op code bof

2001-07-18 Thread Uri Guttman
o'reilly seems to have a problem with daylight bofs: I apologize, however, I cannot change the BOF session "Perl 6 Op Code and Dispatch Loop" to Wednesday during lunch. BOF sessions are available in the evenings after Convention sessions and ancillary Convention events have completed. If y

Re: one more nice2haveit

2001-07-18 Thread jh_lists
> I've go tired of typing :"), but if I had current index-iterator ( say under > $i just as example) at hand the way I have $_ i can just type : > > print "$_ : $b[$i]\n" for @a; > OR > print "$a[$i] : $b[$i]\n" for @a; > For a general solution to this see Buddha Buck's RFC on iterators:

Re: new op code bof time?

2001-07-18 Thread Simon Cozens
On Wed, Jul 18, 2001 at 04:32:13PM -0400, Dan Sugalski wrote: > At 04:28 PM 7/18/2001 -0400, Uri Guttman wrote: > >well, it seems that thurday night is a bad one for this bof. i will > >propose wednesday at lunch (12:30 - 2:00 IIRC). > Works nicely for me. Sounds OK for me. (Like *I* have a clue

RE: one more nice2haveit

2001-07-18 Thread Sterin, Ilya
How about print "$a[$_]:$b[$_] for 0..$#a; or in the p6 case... print "@a[$_]:@b[$_]" for 0..$#a; Ilya -Original Message- From: raptor To: [EMAIL PROTECTED] Sent: 07/18/2001 12:14 PM Subject: one more nice2haveit hi, As I was programming i got again to one thing i alwas needed to

Re: new op code bof time?

2001-07-18 Thread Dan Sugalski
At 04:28 PM 7/18/2001 -0400, Uri Guttman wrote: >well, it seems that thurday night is a bad one for this bof. i will >propose wednesday at lunch (12:30 - 2:00 IIRC). > >does that work? Works nicely for me. Everyone else? (Even if you're not interested in opcodes per se and more interested in th

new op code bof time?

2001-07-18 Thread Uri Guttman
well, it seems that thurday night is a bad one for this bof. i will propose wednesday at lunch (12:30 - 2:00 IIRC). does that work? uri -- Uri Guttman - [EMAIL PROTECTED] -- http://www.sysarch.com SYStems ARCHitecture and Stem Development -- http://www.stemsystems.com

Re: aliasing - was:[nice2haveit]

2001-07-18 Thread Stuart Rocks
> > So, in this case, a "with" synonym for "for" would work. > > > Particularly if '$_' was implied... So with Perl 6's '.' replacing '->', > and 'with' aliasing 'for': > >with ( $XL.{Application}.{ActiveSheet} ) { > .cells(1,1) = "Title"; > .language() = "English"; >} This is m

Re: aliasing - was:[nice2haveit]

2001-07-18 Thread Stuart Rocks
> > So, in this case, a "with" synonym for "for" would work. > > > Particularly if '$_' was implied... So with Perl 6's '.' replacing '->', > and 'with' aliasing 'for': > >with ( $XL.{Application}.{ActiveSheet} ) { > .cells(1,1) = "Title"; > .language() = "English"; >} This is m

Re: saving attachments of mail in MIME format

2001-07-18 Thread Priyanka porwal
Thanks, I tried using MIME-Tools-5.4.11.tar.gz I'm facing an interesting problem. I'm using the following code to dump the mail. Now I'm receiving a file "encrypted.txt" in mail as attachment. The code works fine & it dumps the contents & the attachment also. I have set my .procmailrc as :0 c |pe

one more nice2haveit

2001-07-18 Thread raptor
hi, As I was programming i got again to one thing i alwas needed to have... especialy when write something fast or debug some result... words comes about for/foreach and accessing the current-index of the array I'm working with i.e. say I have two arrays @a and @b and want to print them (al

Re: aliasing - was:[nice2haveit]

2001-07-18 Thread raptor
>> Does such a thing exist already? > >A WTDI exists already: > >for ( $XL->{Application}->{ActiveSheet} ) { > $_->cells(1,1) = "Title"; > $_->language() = "English"; >} > >(presuming lvalue-methods, of course...) So, in this case, a "with" synonym for "for" would work. ]- OR

Re: op code bof schedule

2001-07-18 Thread Simon Cozens
On Wed, Jul 18, 2001 at 11:47:31AM -0400, Dan Sugalski wrote: > I'll certainly be there. If we could get a show of hands, please? (Or > requests for more info) If the numbers are small, or lots of folks would go > but are otherwise engaged at that point, we can see about rescheduling. I'd like

Re: op code bof schedule

2001-07-18 Thread Dan Sugalski
At 08:29 PM 7/17/2001 -0400, Uri Guttman wrote: >the op code bof has been scheduled for thursday night, 8-10 pm. it is >not up on the web site yet. > >unfortunately it is opposite the p5p impressions bof. > >if we are small enough, we could reschedule on our own for lunch or >whatever. I'll cert

Re: aliasing - was:[nice2haveit]

2001-07-18 Thread jh_lists
Bart Lateur wrote: > On Wed, 18 Jul 2001 09:00:25 -0400, John Porter wrote: > >for ( $XL->{Application}->{ActiveSheet} ) { > > $_->cells(1,1) = "Title"; > > $_->language() = "English"; > >} > > > >(presuming lvalue-methods, of course...) > > So, in this case, a "with" s

Re: aliasing - was:[nice2haveit]

2001-07-18 Thread Bart Lateur
On Wed, 18 Jul 2001 09:00:25 -0400, John Porter wrote: >> Does such a thing exist already? > >A WTDI exists already: > >for ( $XL->{Application}->{ActiveSheet} ) { > $_->cells(1,1) = "Title"; > $_->language() = "English"; >} > >(presuming lvalue-methods, of course...) So, in th

Re: aliasing - was:[nice2haveit]

2001-07-18 Thread John Porter
Jeremy Howard wrote: > with $XL->{Application}->{ActiveSheet} { > ->cells(1,1) = "Title" > ->language() = "English" > } > > Does such a thing exist already? A WTDI exists already: for ( $XL->{Application}->{ActiveSheet} ) { $_->cells(1,1) = "Title"; $_->language() =