John McKown wrote: > > my ($item_num,$a,$b) = $i =~ /(.*?|)((?:.*?|){11})(.*)/; > print LINE "$inv|$item_num|$a|$item_num|$b\n"; > > I think that I have that right. Well, assuming that the original is > correct.
No John, If you are using $a and $b as variables in any context other than the sort built-in function, then you do not have it right. Choose meaningful variable names. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>