in reply to open fails to open file when filename read from STDIN

TMTOWTDI with the error handling for free:

#!/usr/bin/env perl use strict; use warnings; use Path::Tiny; use Data::Dump; use feature qw(say); say q(Please enter id file); chomp( my $file = <STDIN> ); my @data = path($file)->lines( { chomp => 1 } ); dd \@data; __END__

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help