Re: Deleting a subfield using MARC::Record

[email protected] (Edward Summers)
Newsgroups perl.perl4lib
Message-ID <[email protected]>
On May 3, 2006, at 6:28 AM, Edward Summers wrote:
> 	$field->delete_subfield(pos => 2);
>
> won't work because 'pos' is a perl keyword--

I should've tried it before I said this -- it works fine in that  
context, even though my perl syntax highlighter indicates otherwise.  
So I've changed the parameter name from 'position' to 'pos' keeping  
with Leif's original suggestion.

//Ed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.