Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: use parent qw( Tie::StdArray)

by pryrt (Abbot)
on Oct 28, 2022 at 18:36 UTC ( #11147795=note: print w/replies, xml ) Need Help??

in reply to use parent qw( Tie::StdArray)

dog don't hunt

I assume you mean "it gave me an error that it couldn't locate Tie/ in @INC". Sharing error messages helps us to help you better than any variant of the phrase "it doesn't work".

parent shows an example of how to have a parent of Tie::StdHash. Did you try to use that same pattern with Tie::StdArray? Because using -norequire option worked for me.

C:\usr\local\share > perl -MTie::Array -le "use parent qw(Tie::StdArray)" Can't locate Tie/ in @INC (you may need to install the Tie: +:StdArray module) (@INC contains: ...) BEGIN failed--compilation aborted at -e line 1. C:\usr\local\share > perl -MTie::Array -le "use parent -norequire => 'Tie::StdArray'"

Replies are listed 'Best First'.
Re^2: use parent qw( Tie::StdArray)
by rlauer (Novice) on Oct 28, 2022 at 18:56 UTC

    Thanks to the Monks for shedding light on this issue. I will study the docs on parent...thanks again.</P

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147795]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2023-03-27 04:41 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.