RE: Turning MARC record object back into a string

2012-03-14 Thread Anne Highsmith
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.

Re: Turning MARC record object back into a string

2012-03-14 Thread Colin Campbell
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

Re: Turning MARC record object back into a string

2012-03-14 Thread Stefano Bargioni
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