in reply to Why did the 6-legged camel try to cross the sigil wall?
And you can combine the two by saving the tied object or getting it with tied() and calling methods on it to access the tied hash/array in ways not built in to the hash/array interface.perl -wle'sub new { bless $_[1] } sub foo { print "foo!" } main->new(\ +my @x); (\@x)->foo()'
(Hey, look, there's no $ sigil there either.)perl -wle'sub foo { print "foo!" } use Tie::Array; @ISA="Tie::StdArray +"; tie @x, "main"; tied(@x)->foo()'
An example of what you are actually looking to do would have been easier to understand than your description.
|
|---|