in reply to Guest Cleanup
wow, i'm pleasantly surprised at the response to my poky little script, i suppose I should probably write something up then
as you will have spotted this is far from a piece of academic code, i put this together quickly when I wanted to demo linux to people at school.
Didn't actually get round to demo-ing, but needless to say it is worth considering creating a -proper- guest management program, sounds like fun
I do actually know about some of the things mentioned, eg: the for loop, and $count being the lesser way of iterating, but I learnt it that way and when I wrote this I hadn't got into the habit of the better way - the module file::path looks interesting, I think the file::* manuals should be required reading for those looking to make utilities in perl
I didn't know about /etc/skel... one of those other things that i've now learnt via obscura...
I still haven't got my head round Objects and Classes in perl, perl doesn't seem like a really OO language to me, correct me at your leisure
oh yes, I used system since I was being very economical with the amount of learning needed, it was quite late when I wrote this, and I was thinking shell script but with more power
|
|---|