perl-stash Questions

4

Solved

In Perl, is there ever any difference between the following two constructs: *main::foo = *main::bar and $main::{foo} = $main::{bar} They appear to have the same function (aliasing all of the ...
Mackinnon asked 6/7, 2011 at 21:36

1

Solved

If I have a really long package name, I can alias that package by making an entry in the symbol table: BEGIN { # Make "Alias" be an alias for "Some::Really::Long::Package"; *Alias:: = \*Some::Re...
Hypogastrium asked 12/10, 2016 at 0:40

2

Solved

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 access to variables in that package. I've...
Heritage asked 27/4, 2011 at 20:2
1

© 2022 - 2024 — McMap. All rights reserved.