fetch("google.com") > my $content; # also: fetch("google.com") | _print; # and even: url("google.com")->() >> _self | _save_as_tree("./root"); $_->() | _save_as_tree("./root") while $_; #### my $content = fetch("google.com"); #### url("google.com")->() >> _self | _save_as_tree("./root"); #### # hmmm, looks confusing: save_as_tree("./root", fetch( url("google.com") ) ); # chained calls, but still confusing: url("google.com")->fetch()->save_as_tree("./root"); # full OO: my $url = Some::Module::Name->new( url => "google.com" ); $url->fetch; $url->save_as_tree("./root");