Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
open(last_assignee, '<', "last_assignee.txt") or die "Unable to open + last_assignee.txt for READ\n"; # Get the last assigned value and store it to a variable while (<last_assignee>) { print $_; chop; if ($_ ne "") { $assignee_last = $_; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reading a file
by CountZero (Bishop) on May 02, 2008 at 17:54 UTC | |
|
Re: reading a file
by toolic (Bishop) on May 02, 2008 at 16:15 UTC | |
by Anonymous Monk on May 02, 2008 at 17:16 UTC | |
|
Re: reading a file
by FunkyMonk (Bishop) on May 02, 2008 at 18:10 UTC |