I tried it and you were exactly right. I declared the variable $my_line_in in two different places. I removed "my" and all was set. I really banged my head on the wall for about two hours on that one.
The code for this is actually around 300 lines long and is the first code that I have written in two years in any language...my bad. It adds users, groups, locks and unlocks accounts on RedHat linux. Maybe when I am done I will open source it. I am sure that everyone that manages Linux/UNIX boxes needs it if they manage accounts in bulk.
I promise I will log some serious time in reading, coding and being involved here on Perl Monks. I need too badly. | [reply] |
| [reply] |