Re: Larry's Apocalypse 1

2001-04-10 Thread Trond Michelsen
ww.perl.com/" < -M "http://www.python.org/") {...} should opendir (FTP, "ftp://sunsite.uio.no/"); work as expected? Should URLs behave as much like regular files/directories as possible, or should they be limited to a small set of operations (like open()). -- Trond Michelsen

Re: Schwartzian Transform

2001-03-26 Thread Trond Michelsen
; Is it really desirable to get different results from rand() on every single comparison? Will the above generate a more random list than this? map { $_->[0] } sort { $a->[1] <=> $b->[1] } map { [$_, rand($_)] } @nums; -- Trond Michelsen

Re: Perl, the new generation

2001-05-18 Thread Trond Michelsen
saying that OOP is now required, because > many/most CPAN modules use OOP. Well, using an OO-module is in many cases as easy as cut'n'pasting the synopsis from that modules documentation. This requires that the user bothers to read the documentation though. -- // Trond Michelsen \X/ [EMAIL PROTECTED]

Re: Perl, the new generation

2001-05-18 Thread Trond Michelsen
/lib/HTML/Tree/AboutObjects.pod -- // Trond Michelsen \X/ [EMAIL PROTECTED]

Re: Separate "as" keyword? (Re: 'is' and action at a distance)

2001-05-18 Thread Trond Michelsen
less-test ;) Anyway - I'm not sure how properties are supposed to work yet. Should all properties behave in the same way, or can every propery completely define its own behaviour? I mean - if you can override the "truth"-property by assigning to the variable, why shouldn't one be able to override the "constant"-property by assigning a new value to the constant? -- // Trond Michelsen \X/ [EMAIL PROTECTED]

Re: Multiple classifications of an object

2001-06-25 Thread Trond Michelsen
. I haven't given it much thought, but I imagine the cleanup-method could be difficoult to implement with inheritance. I don't know if delegation is the solution in your case though. And I certainly can't claim that it is the solution in every "multibless" case. But it worked for me :) -- Trond Michelsen