I have some Excel files by big5 charset.
I fetch some column from it and save to usmarc file by using MARC::Record,
but I get nothing.
It's correct when I process english excel files.
Is it wrong I use MARC::Record?
Please help me.
Thanks.
#!/usr/bin/perl
$s = ''7-5306-3625-1';
$s = &isbn_check($s);
print $ns."\n";
sub isbn_check
{
my($str) = @_;
my($index,$isbn,$ch);
$isbn='';
while($index < length($str))
{
$ch = substr($str,$index,1);
$isbn .= $ch if($ch =~ /[0-9]/);
$index++;
}
return('99') if(length($isbn) < 10 or leng
Please also investigate the Business::ISBN module.
xoa
--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance