On Fri, 18 Jun 2004 12:38:43 -0400, <[EMAIL PROTECTED]> wrote:

All,

Does perl have built in variable names such as in awk?  Here are the ones
in awk
I know perl uses ARGV, but what about:

ARGC # of command lines arguments - In the array @ARGV
FILENAME name of current input file - current input file ?
FNR record number in current file - $.FS controls the input field separator - $/
NF number of fields in current recordNR number of records read so far
OFMT output format for numbers
OFS out filed separator
ORS output record separtor
RLENGTH lenght of string matched by match function - length
RS controls the input record separatorSUBSEP subscript separtor - split ?


thanks again!

Derek B. Smith
OhioHealth IT
UNIX / TSM / EDM Teams
614-566-4145



-- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to