To Whom It May Concern: I am new to perl scripting. I have
a record that I am writing to a file and the last field in the record is space
filled. How do I fill this record with spaces so that my entire record
length is 95 characters? Sample of record: format HEADERNINE =
@@<<<<<@<<<<<@<<<<<<<@<<<<<<<<<@<<<<<<<<<<<@<<<<<<<<<<<^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$sh901,$sh902,$sh903,$sh904,$sh905,$sh906,$sh907,$sh908
.
$oldhandle=select(OUTFILE);
$~ =
'HEADERNINE';
write;
Your assistance is greatly appreciated. Thanks, Gloria
|
- Space Filling the End of Record Gloria Hairston
- Re: Space Filling the End of Record John W. Krahn