in reply to (tye)Re: How to view contents of a blessed Regular Expression?
in thread How to view contents of a blessed Regular Expression?
use strict; $^W++; package A; use overload '""' => sub { overload::StrVal(shift) . 'xx' }; package B; @B::ISA = 'A'; package main; my $a = bless \(my $aa = 'abc'), 'A'; print "$a\n"; bless $a, 'B'; # re-bless print "$a\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (tye)Re: How to view contents of a blessed Regular Expression?
by nysus (Parson) on Jul 16, 2001 at 19:51 UTC | |
by ysth (Canon) on Nov 20, 2003 at 00:03 UTC |