Um ... you have to know the record separator before hand. That's not something that's intrinsic to a file.
If you're asking how to specify the record separator for Tie::File, that's in the Tie::File documentation.
In reply to Re: Get record separator of a file
by duff
in thread Get record separator of a file
by karlgoethebier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |