Created
July 27, 2010 00:44
-
-
Save jjn1056/491524 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
John-Napiorkowski-MacBook-Pro:ParameterizedRolesAndMethodTraits johnn$ perl -e 'use Scalar::Util qw(weaken isweak); my $a = \"sss"; my $b = weaken($a); warn isweak($a) ? 1:0; warn isweak($b) ? 1:0 ;' | |
1 at -e line 1. | |
0 at -e line 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment