Re: BEGIN {...} and IO

2005-08-14 Thread Yuval Kogman
On Sat, Aug 13, 2005 at 19:08:09 +0200, Ingo Blechschmidt wrote: > BTW, is it even necessary to support user-defined serializing > behaviours? (After all, an Item can only be an Int, Num, Str, Ref, Bit, > Pair, Junc, Type, Code, Undef, and Object in PIL2 [1].) Yes, because data types may implici

Re: Pugs MetaClass Model Picture

2005-08-14 Thread Autrijus Tang
On Sat, Aug 13, 2005 at 04:07:28AM +0800, Autrijus Tang wrote: > On Sat, Aug 13, 2005 at 01:08:38AM +0800, Autrijus Tang wrote: > > As promised on #perl6, today I produced a drawing showing how the > > Perl 6 metamodel would work in Pugs. It aims to cover the common > > elements between Perl5, Jav

Re: deprecated opcodes

2005-08-14 Thread Leopold Toetsch
On Aug 14, 2005, at 0:27, chromatic wrote: On Sat, 2005-08-13 at 15:22 +0200, Leopold Toetsch wrote: I have added some more to DEPRECATED, nameley stack calling convention directives .param, .arg, .return, .result, which just translate to user stack opcodes 'save' or 'restore' and 'call'.

passing arguments to HTML::Tidy clean()

2005-08-14 Thread jo / ak
Hi, how can arguments be passed to an HTML::Tidy clean() call? Eg. 'char-encoding' => 'latin1' to avoid translation to entities? Can anyone help? Regards, Jo

Generic classes.

2005-08-14 Thread Autrijus Tang
S06 made many explicit uses of generics as classes, which I find difficult to reconcile with the "only roles takes type parameter" ruling. For example: my Hash of Array of Recipe %book; my Hash[returns=>Array[returns=>Recipe]] %book; And later: class LoudArray is Array { ... } Clea

[svn ci r8954] Runtime prefix override

2005-08-14 Thread Leopold Toetsch
The enviroment var PARROT_RUNTIME can now be used to override the builtin runtime prefix. $ parrot --runtime-prefix reports the active setting. I've additionally moved docs/imcc/running.pod over the totally outdated docs/running.pod. leo

Re: passing arguments to HTML::Tidy clean()

2005-08-14 Thread Andy Lester
On Aug 14, 2005, at 6:47 AM, jo / ak wrote: Hi, how can arguments be passed to an HTML::Tidy clean() call? Eg. 'char-encoding' => 'latin1' to avoid translation to entities? You can't at this point. Code hasn't been written to support it. --. Andy Lester => [EMAIL PROTECTED] => www.petdanc

Re: passing arguments to HTML::Tidy clean()

2005-08-14 Thread Michael Houghton
Andy - the alternative version of the code I wrote and sent to you will do this. I'm afraid I got busy on other stuff and forgot all about it, and I probably don't have the time to refactor my stuff into yours now, but if you would like to, be my guest. Mike On 14 Aug 2005, at 14:46, Andy L

Re: passing arguments to HTML::Tidy clean()

2005-08-14 Thread Rhesa Rozendaal
On Aug 14, 2005, at 6:47 AM, jo / ak wrote: Hi, how can arguments be passed to an HTML::Tidy clean() call? Eg. 'char-encoding' => 'latin1' to avoid translation to entities? On 14 Aug 2005, at 14:46, Andy Lester wrote: You can't at this point. Code hasn't been written to support it. --.

Re: passing arguments to HTML::Tidy clean()

2005-08-14 Thread Michael Houghton
I'll dig it out. If you can take it and work out a way to fit it into the existing HTML::Tidy, that would be the big prize, I think - I worked out a way to do this, in part, but I'm not so sure about it now. On 14 Aug 2005, at 16:19, Rhesa Rozendaal wrote: On Aug 14, 2005, at 6:47 AM, jo / ak