Can I tie a variable multiple times? I’d try it myself, but I’m not sure of the syntax. I want to tie a hash to Cache::Memcached::Tie and IPC::Shareable.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think it is possible to tie two classes to single item. Running tie second time just remove original link and replace with new one.
It should be possible to write some kind of multi-dispatch, though. I mean writing a class that accept multiple other classes and call their respective methods like
FETCHorSTORE.