Thanks to everyone who replied. And to all those who said I could simply use
"my $new_marc = $bib_rec->as_usmarc();" you were correct. Now happily "MARCing"
up more records.
On Mon, Mar 12, 2012 at 01:49:36PM +, Anne Highsmith wrote:
>
> Can anybody think of any reason why I shouldn't just use " my $new_marc =
> $bib_rec->as_usmarc();". And if you can, can you suggest an alternative way
> to correctly turn the object into a string?
>
No thats the way the interf
If I'm not wrong, sprintf syntax is
sprintf FORMAT, LIST
See http://perldoc.perl.org/functions/sprintf.html for instance.
So the statement
my $new_marc = $bib_rec->as_usmarc();
seems the good way to accomplish your need.
Bye. Stefano
On Mar 12, 2012, at 14:49 , Anne Highsmith wrote:
> I am runnin
> Can anybody think of any reason why I shouldn't just use " my $new_marc =
> $bib_rec->as_usmarc();". And if you can, can you suggest an alternative way
> to correctly turn the object into a string?
I'm not sure why you were using sprintf in the first place, so it's a
bit difficult to give too