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.
In reply to Re: push, assingn or split a file?
by ikegami
in thread push, assign or split a file?
by gam3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |