I have numerous files where I do the following.... Within in a foreach loop I use...... ($id,$dir,$code,$etc) = split(/\|/,$i); However, the Perl 5 book I have lists the syntax of split as..... lvalue = split(/pattern/,expression,maxSplit); I've never used the maxSplit parameter in my scripts. By not using the maxSplit parameter am I slowing things down? One of the files I use the foreach/split is close to 10 MB. (that may or may not be large.... I don't really know.) Thanks! Brian Shoemaker
- sprintf Nichole Bialczyk
- Re: sprintf Ken
- Re: sprintf Brett W. McCoy
- Re: split - maxSplit Brian Shoemaker
- Re: split - maxSplit Jeff Pinyan
- Re: split - maxSplit David Olbersen