Created
April 10, 2012 02:44
-
-
Save syncsynchalt/2348045 to your computer and use it in GitHub Desktop.
dang it perl
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
$ cat /tmp/foo.pl | |
#!/usr/bin/perl -w | |
use strict; | |
use XML::Simple; | |
use Data::Dumper; | |
print Dumper(XMLin('<xml attrib="foo&bar"/>')); | |
$ perl5.12 /tmp/foo.pl | |
$VAR1 = { | |
'attrib' => 'foo&bar' | |
}; | |
$ perl5.8 /tmp/foo.pl | |
$VAR1 = { | |
'attrib' => 'foo&bar' | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment