Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 wandering the Monastery: (6)
As of 2014-09-01 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (15 votes), past polls