Created
September 11, 2016 21:47
-
-
Save dur-randir/63f9e5cad6cbd60c5710b87382b2b9ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Devel::Peek; | |
#use Data::Printer use_prototypes => 0, return_value => 'pass'; | |
#use Data::Printer use_prototypes => 1, return_value => 'pass'; | |
my $foo = \*STDIN; | |
Dump(p $foo); | |
with use_prototypes => 0: | |
*main::STDIN (read/write, layers: unix perlio) | |
SV = PVGV(0x7f8e3a91aea0) at 0x7f8e3aa25f30 | |
with use_prototypes => 1: | |
\ *main::STDIN (read/write, layers: unix perlio) | |
SV = PVMG(0x7f8c74193a60) at 0x7f8c740c9588 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment