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