Skip to content

Commit

Permalink
Update deprecated code
Browse files Browse the repository at this point in the history
Change $*VM<name> to $*VM.name to eliminate deprecation notice while building Digest::MD5.
  • Loading branch information
nbrown committed Jul 3, 2014
1 parent 3565ec8 commit 4d93471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build.pm
Expand Up @@ -5,7 +5,7 @@ use Shell::Command;
class Build is Panda::Builder {
method build($workdir) {
rm_f("$workdir/lib/Digest/MD5.pm");
if $*VM<name> eq 'parrot' {
if $*VM.name eq 'parrot' {
cp("$workdir/lib/Digest/MD5.pm.parrot", "$workdir/lib/Digest/MD5.pm");
} else {
cp("$workdir/lib/Digest/MD5.pm.perl", "$workdir/lib/Digest/MD5.pm");
Expand Down

0 comments on commit 4d93471

Please sign in to comment.