in reply to Adding a Users data
I know i should use strict and warnings but i just want it to get it working.
Now you know why you should add strict and warnings IMMEDIATELY when you start coding. If you don't, it WILL take longer to fix your problems later.<patronize seriousness="medium">
Also, that code is horribly indented. Try running it through perltidy first. Then replace the goto LABEL statements with something better, like subroutines. Didn't you know they're considered harmful? :-)
</patronize>
update: I just realised that this code is supposed to run with root privileges. 8-| Please take some time to fix this code to run with strict and warnings enabled. You wouldn't want to remove some unfortunate user now, would you?
|
|---|