Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

december's scratchpad

by december (Pilgrim)
on Jul 23, 2004 at 04:52 UTC ( #376798=scratchpad: print w/ replies, xml ) Need Help??

sub strip ($) { $_ = shift if @_; s/(^\s*|\s*$)//g; s/\s\s/ /g; return $_; } my $journal1 = map { s/[\s.-]*$//g; $_ } $marc->subfield(773, "t"); (my $journal2) = map { s/[\s.-]*$//g; $_ } $marc->subfield(773, "t"); my $journal3 = strip(map { s/[\s.-]*$//g; $_ } $marc->subfield(773, "t +")); (my $journal4) = strip(map { s/[\s.-]*$//g; $_ } $marc->subfield(773, +"t")); print "1 = $journal1\n"; print "2 = $journal2\n"; print "3 = $journal3\n"; print "4 = $journal4\n"; 1 = 1 2 = Tieteessä tapahtuu 3 = 1 4 = 1
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2015-05-04 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (93 votes), past polls