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                                               

 

 

1440 Diggs Dr

Raleigh NC 27603

 

www.eeco-net.com

 

Phone:919.754.5173

Fax:919.754.5073

Gloria Hairston

EDI Administrator

 

Reply via email to