On Mon, Jun 13, 2005 at 06:52:35PM +0200, Chip Salzenberg wrote:
> > > Isn't this *exactly* why Perl 6 is requiring you to mark tied
> > > variables when they're declared?
> > 
> > Yes.
> 
> Um:
> 
>    my $x is tied;
>    tied $x, SomePackage;
>    unsuspecting_victim(\$x);   # ???

Hmm, you can't say "is tied"; it must be something that actually
actively implementing the Tieable role (see S06):

    my $x is DB_File;

but regardless, the DB_File thing can't invoke a full CC, so this is
orthogonal to the problem we're talking about; sorry.

Thanks,
/Autrijus/

Attachment: pgpYbgQOB1Hqb.pgp
Description: PGP signature

Reply via email to