tie
Tie variable multiple times
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::Ti开发者_如何学Ce and IPC::Shareable.No. Confirming bvr\'s guess, a[详细]
2023-03-30 22:27 分类:问答perl5140delta localized tied variables
perl5140delta says that localized tied variables are no long tied. This change was implemented in 5.13.1 but reverted in 5.13.2. Is this back in 5.14 (from my testing it does not appear to be) or is t[详细]
2023-03-07 16:41 分类:问答In Perl, is there any way to tie a stash?
Similar to the way AUTOLOAD can be used to define subroutines on demand, I am wondering if there is a way to tie a package\'s stash so that I can intercept ac开发者_StackOverflow中文版cess to variable[详细]
2023-03-01 07:20 分类:问答Constructor for tied scalar
If I were to have a simple tied scalar class that increments every time it is read I could do that like this:[详细]
2023-02-09 05:07 分类:问答《Suit & Tie》MP3歌词-Justin Timberlake / Jay-Z?
Suit & Tie Justin Timberlake/ Jay-Z 专辑:Suit & Tie 语种: 英语 流派:R&B 唱片公司:索尼音乐[详细]
2023-01-15 18:38 分类:问答How can I extract hash values into an array in their insertion order?
Given a hash in Perl (any hash), how can I extract the values from that hash, in the order which they were added and put them in an array?[详细]
2023-01-09 20:45 分类:问答returning a lazily-computed scalar, in perl
I\'m trying to add some functionality to our code base by using tied scalars. We have a function which is specified to return scalars. I thought I could add some features to the system by tie-ing the[详细]
2023-01-09 13:55 分类:问答Attach a bitmap on another bitmap
I have a class Building. It contains a _bitmap object, referenced to a drawable. I can draw it on an external View, where its canvas calls myBuilding.getBitmap().[详细]
2022-12-24 18:18 分类:问答Is Tie::File lazily loading a file?
I\'m planning on writing a simple text viewer, which I\'d expect to 开发者_运维百科be able to deal with very large sized files. I was thinking of using Tie::File for this, and kind of paginate the lin[详细]
2022-12-13 00:41 分类:问答