http://www.perlmonks.org?node_id=1062423


in reply to Re: Using the DATA file handle for ARGV
in thread Using the DATA file handle for ARGV

The point of this is to replace *ARGV with *DATA so you can use the <> operator to read from the DATA filehandle instead of files named on the command line. So your input line should be:

my $timestamp = <>;

Aaron B.
Available for small or large Perl jobs and *nix system administration; see my home node.

Replies are listed 'Best First'.
Re^3: Using the DATA file handle for ARGV
by GotToBTru (Prior) on Nov 13, 2013 at 22:44 UTC