RE: Larry's Apocalypse 1

2001-04-10 Thread Peter Scott
At 09:45 AM 4/11/01 +1000, Greg Boug wrote: >Hrmm... It'd have interesting repercussions for CPAN... :-) > >How about doing something like: > >use lib "CPAN::HTML::Module"; > >which goes and grabs the module in question from CPAN for >use. Picking, the closest mirror, of course. > >Would be inter

RE: Larry's Apocalypse 1

2001-04-10 Thread Greg Boug
> > While I don't know if Larry will mandate it, I would like this code: > >open PAGE, "http://www.perl.org"; > >while () { > > print $_; > >} > > to dump the HTML for the main page of www.perl.org to get > dumped to stdout. > > Well, this seems innocent enough, but how far

Re: Larry's Apocalypse 1

2001-04-10 Thread Damian Conway
> Of course all of this has been discussed. (See > http://archive.develooper.com/perl6-language-io%40perl.org/, > especially RFCs 100 and 14.) And is already available in a nearby parallel dimension: http://www.yetanother.org/damian/Perl5+i/open.html ;-) Damian

Re: Larry's Apocalypse 1

2001-04-10 Thread Dan Sugalski
At 12:36 PM 4/10/2001 -0500, Jarkko Hietaniemi wrote: >On Tue, Apr 10, 2001 at 09:28:29AM -0400, John Porter wrote: > > Dan Sugalski wrote: > > > > if (-M "http://www.perl.com/" < -M "http://www.python.org/") {...} > > > > > > Nope. Doesn't work with other magic filenames, why should it with thes

Re: Larry's Apocalypse 1

2001-04-10 Thread Jarkko Hietaniemi
On Tue, Apr 10, 2001 at 09:28:29AM -0400, John Porter wrote: > Dan Sugalski wrote: > > > if (-M "http://www.perl.com/" < -M "http://www.python.org/") {...} > > > > Nope. Doesn't work with other magic filenames, why should it with these? > > Because Perl6 will be better than Perl5. > I wouldn't

Re: Larry's Apocalypse 1

2001-04-10 Thread John Porter
Dan Sugalski wrote: > > if (-M "http://www.perl.com/" < -M "http://www.python.org/") {...} > > Nope. Doesn't work with other magic filenames, why should it with these? Because Perl6 will be better than Perl5. I wouldn't mind (in fact I would expect) to see the magic power level increase conside

RE: Larry's Apocalypse 1

2001-04-10 Thread Dan Sugalski
At 09:56 AM 4/10/2001 +1000, Greg Boug wrote: > > >*knock knock* Hello? Abstraction? Are you there > > Don't forget that human language expresses concrete things as > > much or more than it does abstract things. Perl is at least > > partially a human language. > >True... But the ability to say

RE: Larry's Apocalypse 1

2001-04-10 Thread Dan Sugalski
At 04:23 AM 4/10/2001 -0400, Philip Newton wrote: >I once created, on a Unix box, a directory named 'http:' and inside it, a >file named www.datenrevision.de. This enabled me to open >'http://www.datenrevision.de' and read from it (since multiple >consecutive slashes are generally treated as one s

Re: Larry's Apocalypse 1

2001-04-10 Thread Dan Sugalski
At 05:14 PM 4/9/2001 -0700, jc vazquez wrote: >From: "Dan Sugalski" <[EMAIL PROTECTED]> > > While I don't know if Larry will mandate it, I would like this code: > > > >open PAGE, "http://www.perl.org"; > >while () { > > print $_; > >} > > > > to dump the HTML for the main page

Re: Larry's Apocalypse 1

2001-04-10 Thread Dan Sugalski
At 01:46 PM 4/10/2001 +0200, Trond Michelsen wrote: >On Mon, Apr 09, 2001 at 10:03:31AM -0400, Dan Sugalski wrote: > > While I don't know if Larry will mandate it, I would like this code: > >open PAGE, "http://www.perl.org"; > >while () { > > print $_; > >} > > to dump the HTM

Re: Larry's Apocalypse 1

2001-04-10 Thread Ariel Scolnicov
Trond Michelsen <[EMAIL PROTECTED]> writes: > On Mon, Apr 09, 2001 at 10:03:31AM -0400, Dan Sugalski wrote: > > While I don't know if Larry will mandate it, I would like this code: > >open PAGE, "http://www.perl.org"; > >while () { > > print $_; > >} > > to dump the HTML for

Re: Larry's Apocalypse 1

2001-04-10 Thread Trond Michelsen
On Mon, Apr 09, 2001 at 10:03:31AM -0400, Dan Sugalski wrote: > While I don't know if Larry will mandate it, I would like this code: >open PAGE, "http://www.perl.org"; >while () { > print $_; >} > to dump the HTML for the main page of www.perl.org to get dumped to stdout. Wel

RE: Larry's Apocalypse 1

2001-04-10 Thread Philip Newton
On Mon, 9 Apr 2001, Dan Sugalski wrote: > While I don't know if Larry will mandate it, I would like this code: > >open PAGE, "http://www.perl.org"; >while () { > print $_; >} > > to dump the HTML for the main page of www.perl.org to get dumped to stdout. I once created, on