Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 imbibing at the Monastery: (7)
As of 2015-07-30 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls