Re: filehandle objects et al. OR: Perl's not the glue, it's the borg of languages

2000-08-18 Thread Jonathan Scott Duff
On Fri, Aug 18, 2000 at 10:07:06AM -0400, Jerrad Pierce wrote: > >Also, your examples don't cover this: > > $web = open "http://www.yahoo.com", GET; > >Remember, additional args for the proposed open handler can follow the > >filename. > Never saw it. How many additional arg's? As many as it ta

Re: filehandle objects et al. OR: Perl's not the glue, it's the borg of languages

2000-08-18 Thread Jerrad Pierce
In reply to your message from the not too distant future: next Thursday AD Reply-to: [EMAIL PROTECTED] Return-receipt-to: [EMAIL PROTECTED] Organization: a) Discordia b) none c) what's that? Content-Typo: gibberish, charset=ascii-art Date: Fri, 18 Aug 2000 10:07:04 EDT From: Jerrad Pierce > Perl

Re: filehandle objects et al.

2000-08-17 Thread Nathan Wiger
Jerrad Pierce wrote: > > Perl6 does not *have* to break anything, and certainly not everything. > The prime directive should be not to break things unless necessary. > Translation should not be a fall-back panacea. And it surely isn't perfect... Actually, this is false. If Perl 6 worked just like

Re: filehandle objects et al.

2000-08-17 Thread Jerrad Pierce
>Well, fileobjects are already in Perl 5. Most people just don't use them >by default. But as TomC pointed out, in Perl 5 you can do this: > open $fh, "$file";# if 'use FileHandle' I do use them, occasionally... >Already. These proposals just make that the default. No the "default" is what

Re: filehandle objects et al.

2000-08-17 Thread Nathan Wiger
> I vehemently disagree with this filehandle object nonsense. > This is Perl, not Java, not Python. Everyone together Purrl... :-P Well, fileobjects are already in Perl 5. Most people just don't use them by default. But as TomC pointed out, in Perl 5 you can do this: open $fh, "$file";# i