Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: problems editing a flat-file

by Albannach (Monsignor)
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://97424]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-07-23 20:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found