Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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


Comment on (MeowChow) Re: white space substitution
Download Code

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 perusing the Monastery: (5)
As of 2014-12-20 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls