in reply to Re^6: How to pass a variable to a subroutine
in thread How to pass a variable to a subroutine
Looks like you have a DOS file on a unix system. Replacing
chomp $FN_SPLIT;
with
$FN_SPLIT =~ s//\r?\n\z/;
will handle both DOS and unix files on a unix system.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: How to pass a variable to a subroutine
by Anonymous Monk on Dec 07, 2008 at 22:26 UTC |