Move from File::Slurp to Path::Tiny #2
1 changed files with 2 additions and 2 deletions
|
|
@ -1,2 +1,2 @@
|
|||
use File::Slurp;
|
||||
my $text = read_file($filename);
|
||||
use Path::Tiny;
|
||||
my $text = path($filename)->slurp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue