Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: use parent qw( Tie::StdArray)

by haj (Priest)
on Oct 28, 2022 at 18:42 UTC ( #11147796=note: print w/replies, xml ) Need Help??


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

I guess you're looking for the -norequire switch which allows to define a parent relationship without causing Perl to look for the wrong module:

package My::Array { use Tie::Array; use parent -norequire, qw(Tie::StdArray); }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2023-03-27 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?