in reply to Re^2: How to suppress "only used once" regarding script file handles (that are in fact used in my module), but do it from a the module?
in thread How to suppress "only used once" regarding script file handles (that are in fact used in my module), but do it from a the module?
Here's a full example of a user's script who would be using my module (we'll call it Foo for now):
Hi
Thats a tad , optimistic? ;)
use Path::Tiny qw/ path /; select my $bar = path("~/output.txt")->opena_utf8; print "Hello world!\n";
At least thats this user's opinion
Modern Perl , the future is now :)
$ perl - use Path::Tiny qw/ path /; select path("~/output.txt")->opena_utf8; print "Hello world!\n"; __END__ $ cat %home%\output.txt Hello world! $ del %home%\output.txt $
|
|---|