Re: RFC 181 (v1) Formats out of core / New format syntax

2000-08-31 Thread Philip Newton
On 31 Aug 2000, Perl6 RFC Librarian wrote: >my format $FILE_FORMAT = > @<: @ > $name, $ssn > . > > Then this is even less different and scary. Get rid of that C and > it's Perl 5. s/that C/that C and the dollar sign/; Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]

Re: RFC 180 (v1) Object Class hooks into C

2000-08-31 Thread Hildo Biersma
> =head1 ABSTRACT > > There needs to be a way for an object class to define C format > specifiers for use in formatting objects into strings with C and > C. I find myself agreeing with your sentiment, but the approach in this RFC is not sufficiently general. Why only provide hooks for printf, n

Re: RFC 181 (v1) Formats out of core / New format syntax

2000-08-31 Thread Johan Vromans
Perl6 RFC Librarian <[EMAIL PROTECTED]> writes: > Formats out of core / New format syntax Good work! This RFC opens the possibility to normalize (e.g. make the syntax no longer something exceptional) the formats. >my format $FILE_FORMAT = q( > @<: @ > $name, $ssn > );

Re: RFC 181 (v1) Formats out of core / New format syntax

2000-08-31 Thread Nathan Wiger
Johan Vromans wrote: > > Good work! Thanks. :-) > Is there any reason left to maintain formats as something internally > special? Well, as you note in your implementation suggestions, it would be nice if Perl compiled the format the first time around. Along with the implicit constructors sugge

Re: RFC 180 (v1) Object Class hooks into C

2000-08-31 Thread Mark A. Biggar
Hildo Biersma wrote: > > > =head1 ABSTRACT > > > > There needs to be a way for an object class to define C format > > specifiers for use in formatting objects into strings with C and > > C. > > I find myself agreeing with your sentiment, but the approach in this RFC > is not sufficiently general

Re: RFC 34 (v3) Angle brackets should not be used for file globbing

2000-08-31 Thread Jon Ericson
Tom Christiansen wrote: > >=item Complex filehandle references > > >my %filesystem; > >my $filename = '/etc/shells'; > >open $filesystem{$filename}, $filename > >or die "can't open $filename: $!"; > >print <$filesystem{$filename}>; > >__END__ > > >GLOB{0xa042284}

Re: RFC 34 (v3) Angle brackets should not be used for file globbing

2000-08-31 Thread Tom Christiansen
>Is some technical reason that this can't be done in perl 5? I hate >having to add another pair of braces just to reassure perl that I didn't >forget a comma: >print {$fh{$name}} "data\n"; Indirect objects are very limited in what they can be. --tom

Re: RFC 34 (v3) Angle brackets should not be used for file globbing

2000-08-31 Thread Nathan Wiger
Tom Christiansen wrote: > > >Is some technical reason that this can't be done in perl 5? I hate > >having to add another pair of braces just to reassure perl that I didn't > >forget a comma: > > >print {$fh{$name}} "data\n"; > > Indirect objects are very limited in what they can be. Curre

RFC 186 (v1) Standard support for opening i/o handles on scalars and

2000-08-31 Thread Perl6 RFC Librarian
arrays-of-scalars Reply-To: [EMAIL PROTECTED] This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Standard support for opening i/o handles on scalars and arrays-of-scalars =head1 VERSION Maintainer: Eryq (Erik Dorfman) <[EMAIL PROTECTED]> Date: 23 Aug 2