in reply to Re^2: Typecasting a scalar to a module
in thread Typecasting a scalar to a module
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.
|
|---|