so i can open with filehandle "infile" without "$"?
yes, it is a dump from hardware, but i guess you could call it plain text as it can be opened in notepad but has wild characters.
i tried many different variations of $file =~ and nothing would work out. i am fixing to read up on the link that was posted earlier.
thanks for all the help
I don't have an evidence to support my claim of "usually" but maybe that's not relevant anyway. Of course it's possible to use and I didn't mean to imply that it was wrong. There were just so many things that looked "odd" to me.