Hello fellow perlmonks... I've got a simple one (i hope) today that i could use some help with if ur willing
I'm reading the contents of a file... which I've been doing the same way for months now...
say("Dequeuing ... ");
my @lines = <MYQUEUE>;
if (@lines){
foreach my $line (@lines){
#$line =~ s/"(.+)"/$1/gix;
#say("$line \n");
schedule($line);
}
$is_queued = 1;
close (MYQUEUE);
}
I changed the contents from url's on a single line to a part number on a single line... I read the file with excel 2007 and save it as a .txt and it looks fine to me in vi... but when i read it in it adds a space between EVERY two characters so "1071901" becomes "1 0 7 1 9 0 1"
Any thoughts?