or as a alias for a scalar's:*xyz = \&X::YY::ZZ::function;
my $string = 'Hi There'; local *_ = \$string; s/\s+/ /g; print $string; __OUTPUT__ Hi There
In reply to Re: What are typeglobs (useful for)?
by borisz
in thread What are typeglobs (useful for)?
by Lhamo_rin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |