i want to use regular expression instead of file name in INPUT method for file processing as i do not know the file name but its type is .txt
I am running one perl xyz.pl program. In the same folder one 3-4-111.txt file is there. which is called by open(INPUT, "<3-4-111.txt");
but i want to use RE instead of typing 3-4-111.txt each time in program. Is it possible????? please give a idea or code.. thanking you
In reply to regular expression for filename by singhabsk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |