Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

sandboxed's scratchpad

by sandboxed (Sexton)
on Apr 08, 2008 at 08:30 UTC ( #678952=scratchpad: print w/replies, xml ) Need Help??

Disclaimer:I know that this code is horrible, it looks like a riddle. I'm trying to do a rework of it, regarding:

  • Understandable
  • Modular
  • Uncluttered
  • Cruftless
  • Even, a module-to-be...

Here's the code to rework. Good luck and don't get afraid if you would like to get a point of view! If you could give me some advice if it's possible, I'll really appreciate it!

Note: I'm not looking for somebody else to rewrite my code, thanks!

Working on it again...I'll show it up again a little later
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[davido]: ok, on my ubuntu system getlogin grabs from /proc/self/ loginuid (per strace)
[tye]: disable /proc and then see what it does?
[davido]: then it reads from /etc/passwd to decide who my uid is.
[davido]: sorry, typed that before you asked me to disable proc
[davido]: but you stumped me; don't know how to disable proc.
[tye]: I don't know if you can just dismount, but I thought so.
[davido]: yeah, umount -f isn't powerful enough.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2017-06-23 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.