- or download this
$val = *x;
print "@{ *{ $val } }";
- or download this
print $val;
--output:--
*main::x
- or download this
$what = *x;
print $what, "\n";
...
*main::x
GLOB(0x10082ad88)
- or download this
$fh = *STDOUT;
...
--output:--
hello
- or download this
$STDOUT = 10;
$fh = *STDOUT;
...
--output:--
2