Huh? Where are the "scalar references" that are not "the object ref itself" in this code?
my $local = a_module->new(); $local->do_init; func1($local); func2($local);
Update: sorry for the confusion.
In reply to Re^3: Typecasting a scalar to a module
by Mugatu
in thread Typecasting a scalar to a module
by thekestrel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |