Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

(MeowChow) Re: white space substitution

by MeowChow (Vicar)
on Jun 06, 2002 at 11:16 UTC ( #172146=note: print w/ replies, xml ) Need Help??


in reply to white space substitution

A few problems...
#!/usr/bin/perl -w use strict; while (my ($name, $passwd, $gid, $members) = getgrent) { if ($name eq "steel"){ $members =~ s/\s/\n/g; print "$members\n"; } }
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://172146]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-06-29 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (365 votes). Check out past polls.