in reply to Re^2: How to read contents of a file without opening it and print the contents
in thread How to read contents of a file without opening it and print the contents

It took you 4 years to return to this thread? Wow!

Could it be that your assignment is rather HTTP than regex related?

but even then .... a very stupid question.

update

maybe someone thought that using shell redirections do not open: $content=`<filename` ?

update

or $content=`cat filename` ?

but even then .... a very stupid question!

Cheers Rolf

PS: Je suis Charlie!