Bryan Harris wrote:
> 
> Is there a way to discover the filename of the current file being read when
> using the angle brackets (e.g. while (<>) {} )?

Well, as you may know, the <> operator reads from the file names stored
in the @ARGV array.  The current file name is stored in the $ARGV
variable and the current file handle is ARGV.  Also, if the $^I variable
is defined the current output file handle is ARGVOUT.


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to