in reply to Re: How to Open Files from Subdirectory
in thread How to Open Files from Subdirectory

Dear bart,
Thanks for your correction. I've made update based on your suggestion. Now $name is printed as "data". I've also added function to clarify my intention. But it still gives me:
Can't open file /files/data.pri:
Is there anything wrong with this syntax?
my $file = "/files/test1.fasta";
If not, please kindly advice what's the correct one.

---
neversaint and everlastingly indebted.......