perldoc perlvar tells us that $/ contains whatever is used to mark the end of line. And chomp removes it from the end of a string.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there a variable in which Perl stores the native file delimiter for the platform on which your script is running? ($/)
by tye (Sage) on Dec 23, 2005 at 01:14 UTC |