in reply to change files names bug

And you sure that witespases is realy tabulation simbol? May be good idea is use regexp like this
my @RegExp = /^([A-Za-z]{2}\d{2,})\s+(.*)$/g;

So in $RegExp[0] will be ID and in $RegExp[1] will be BARCODE

Replies are listed 'Best First'.
Re^2: change files names bug
by Yuma248 (Initiate) on Oct 30, 2013 at 10:22 UTC

    Yep I am sure the space between columns is tab, in fact when you print $id or $barcode you get the right strings inclusive if you print them just before the rename command