Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: problems editing a flat-file

by Albannach (Prior)
on Jul 17, 2001 at 23:38 UTC ( #97424=note: print w/replies, xml ) Need Help??

in reply to problems editing a flat-file

You might find a few hints if you use strict; and used -w or use warnings; (depending on your version of Perl).

In your foreach $guest loop your split is not acting on $guest as you have mis-placed your brackets. Because of this, you never find the matching record that you want to change, and so your file is never any different after execution. Warnings would have caught this problem.

I'd like to be able to assign to an luser

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://97424]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2018-03-22 02:41 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (272 votes). Check out past polls.