New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot alias tied filehandle #811
Comments
From sey@tera.kyoto.jkc.co.jpI cannot alias a tied filehandle with type glob assignment. tie *H, 'Test'; This prints as follows. *H is tied 'Test=HASH(0xba0c40)' I have an alternate way as follows. But it is not usable for practical tie *H, 'Test'; Perl Info
|
From [Unknown Contact. See original ticket]This appears to still be true under bleadperl 8101. This is a bug report for perl from sey@tera.kyoto.jkc.co.jp, ----------------------------------------------------------------- tie *H, 'Test'; This prints as follows. *H is tied 'Test=HASH(0xba0c40)' I have an alternate way as follows. But it is not usable for practical tie *H, 'Test'; |
From @mjdominus
I thought that the reson this didn't work is that the glob was copied, tie $H, 'Text'; does not leave $K tied. Some time ago I reported what seems to be a related problem: bless \*H => 'Test'; and *K is not blessed. I was told that this was not a bug. I will hunt up the mail if anyone thinks it would be illuminating. |
From [Unknown Contact. See original ticket]I'll close it. -spp Lightning flashed, thunder crashed and Mark-Jason Dominus <mjd@plover.com> whis |
From @mjdominus
I wasn't suggesting that you close it. I was hoping that someone with |
From @floatingatollSo, how do I go about making a copy of $H or *H that retains all the special R.
R. |
@gbarr - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#1739 (status was 'resolved')
Searchable as RT1739$
The text was updated successfully, but these errors were encountered: