RE: [PBML] Reading text files
> In perl, you read by assigning output from a file pointer to aThanks, I found other way to do it after sending this message, including the
> variable. To read one line at a time assign to a scalar. To
> read the entire file at once, assign to an array.
file in an array:
open FILE, "myfile.txt" ;
@lines = <FILE>