Skip to content

Commit

Permalink
Fixed getprint() invocation adding a self. in front
Browse files Browse the repository at this point in the history
  • Loading branch information
cosimo committed Aug 9, 2009
1 parent 7d11c77 commit c6aeab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/lwp-get.p6
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ use LWP::Simple;

my $url = @*ARGS[0] // "http://www.rakudo.org";

say LWP::Simple.get($url);
LWP::Simple.getprint($url);

2 changes: 1 addition & 1 deletion lib/LWP/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class LWP::Simple {
}

method getprint (Str $url) {
say get($url);
say self.get($url);
}

}
Expand Down

0 comments on commit c6aeab1

Please sign in to comment.