OnionKnight has asked for the wisdom of the Perl Monks concerning the following question:
Neither did that but finally$_ = <FILE>; my ($parent, $createtime) = split(/;/);
worked. Why did the first one not work and what's the deal with $_ and filehandles?<FILE>; my ($parent, $createtime) = split(/;/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: $_ and filehandles
by davido (Cardinal) on Aug 27, 2005 at 15:50 UTC | |
| |
|
Re: $_ and filehandles
by sk (Curate) on Aug 27, 2005 at 16:38 UTC | |
|
Re: $_ and filehandles
by CountZero (Bishop) on Aug 27, 2005 at 19:05 UTC | |
|
Re: $_ and filehandles
by halley (Prior) on Aug 28, 2005 at 01:03 UTC | |
|