"...can be either a filehandle or filename"
D'oh! Yes.
Perhaps non-OO is more intuitive?
#!/usr/bin/env perl use strict; use warnings; use File::Temp qw(tempfile); use feature qw(say); say( ( tempfile() )[1] ); __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
In reply to Re^2: Generate temporary file and FTP upload
by karlgoethebier
in thread Generate temporary file and FTP upload
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |