Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* "perl split -b 0 file" is invalid but did not raise an error due to truth check on $opt{b} * -b NUMBER has no default value, but it must be >0 * Add explicit checks for options -b, -l and -p which cannot be used together * test1: "perl split -b 0 file" --> now fails * test2: "perl split -b 1 file" --> one byte per file * test3: "perl split -b 5 file" --> final file with <5 bytes (remainder) * test4: "perl split -l 2 file" --> two lines per file * test5: "perl split longfile" --> default -l mode: 1000 lines per file
- Loading branch information