Urb LeJeune on Wed, 2 May 2001 15:00:55 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Quick question: how to slurp a file?


two ways.

@EntireFile = <FH>'
$File = join("",@EntireFile);

or turn of the line separator:

$/="";
$File=<FH>;

Urb

**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**