in reply to push, assign or split a file?
seek( $IN1, 0, SEEK_END ); my $length = tell($IN1); seek( $IN1, 0, 0 );
can be replaced by -s.
split( /\n/, $bob );
is not equivalent. It removes the newline from each element, and it removes trailing blank lines.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: push, assingn or split a file?
by gam3 (Curate) on Jan 17, 2010 at 16:52 UTC | |
by ikegami (Patriarch) on Jan 17, 2010 at 23:53 UTC |