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 chilling in the Monastery: (7)
As of 2014-07-30 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls