No such thing as a small change | |
PerlMonks |
Re^3: Splitting a large file into smaller files according to indexesby bliako (Monsignor) |
on Apr 05, 2018 at 23:32 UTC ( [id://1212392]=note: print w/replies, xml ) | Need Help?? |
it is initialised to -1 (or whaterver other value your mrule number will not take) in order to force the opening of the file upon seeing the mrule pattern for the first time. Glad it worked (it's Perl after all) but I stress that it is untested by me for more complex cases. bliako
In Section
Seekers of Perl Wisdom
|
|