----- Original Message ----- 
From: "Graham Barr" <[EMAIL PROTECTED]>
> Hm, I wonder if
> 
>   sub printRec($rec=$_) { ... }
> 
> or someother way to specify that the current topic be used
> as a default argument, might be possible

Would it would be reasonable to have given default to the caller's topic?

sub printRec {
    given {
        # $_ is now the caller's topic in this scope
    }
}

Perhaps C<given caller.topic {}> would work as well.

Ashley Winters

Reply via email to