in reply to Re: Generate temporary file and FTP upload
in thread Generate temporary file and FTP upload

"...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