RE: getting subjects out

2004-09-09 Thread Mark Huppert
10 September 2004 4:43 AM > To: Jackie Shieh > Cc: [EMAIL PROTECTED] > Subject: Re: getting subjects out > > > On Thu, Sep 09, 2004 at 01:31:46PM -0400, Jackie Shieh > ([EMAIL PROTECTED]) wrote: > > Hi, > > > > I would like to get data out of topical subjec

RE: getting subjects out

2004-09-09 Thread Jackie Shieh
Thanks y'all!! --Jackie On Thu, 9 Sep 2004, Bryan Baldus wrote: > >if ( $f650 and $650->indicator(2) = [02] ) {...} > > In addition to the previous responses concerning $650 vs. $f650, should > "$f650->indicator(2) = [02]" be "$f650->indicator(2) =~ /[02]/", or is this > a special case wher

RE: getting subjects out

2004-09-09 Thread Bryan Baldus
>if ( $f650 and $650->indicator(2) = [02] ) {...} In addition to the previous responses concerning $650 vs. $f650, should "$f650->indicator(2) = [02]" be "$f650->indicator(2) =~ /[02]/", or is this a special case where the above does not assign '[02]' to $f650->indicator(2)? Thank you, Bryan

Re: getting subjects out

2004-09-09 Thread Andy Lester
On Thu, Sep 09, 2004 at 01:31:46PM -0400, Jackie Shieh ([EMAIL PROTECTED]) wrote: > Hi, > > I would like to get data out of topical subjects (650s), > but only the ones that with a 2nd indicator of 0 or 2. > With this script, > > my @f650 = $record->field('650'); > > ## > foreach my $f650 (@f650

RE: getting subjects out

2004-09-09 Thread Erickson, Bill
Looks like a typo Jackie. I think you meant $f650->indicator(2) instead of $650->indicator(2). -bill -Original Message- From: Jackie Shieh [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 1:32 PM To: [EMAIL PROTECTED] Subject: getting subjects out Hi, I

getting subjects out

2004-09-09 Thread Jackie Shieh
Hi, I would like to get data out of topical subjects (650s), but only the ones that with a 2nd indicator of 0 or 2. With this script, my @f650 = $record->field('650'); ## foreach my $f650 (@f650) { if ( $f650 and $650->indicator(2) = [02] ) { print OUT "650: ", $f650->as_string(), "\n"