in reply to How to find a file using perl

The first question should be: "how the user select the file to be displayed?".

Assuming you provide a method for the user to select the file, your program open the file, read it line by line and send it to the browser.

Alternatively, I didn't understand your question :)

Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."