So I'm VERY new to Perl and I have a few questions...
This far I have been able to get the directory listing into
an hash, I
can print the entire hash. My next step is to run the
"dh -sh" command
against the directory list. Can anyone help?
#!/usr/bin/perl
$directorylist = `ls /mnt/Users`;
$cmd = `du -sh`;
%Userdirs = split /n/, $directorylist;
while (<>) {
Unsubscribing info is here: h
ttp://help.yahoo.com/help/us/groups/groups-32.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://g
roups.yahoo.com/group/perl-beginner/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http
://groups.yahoo.com/group/perl-beginner/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:perl-beginner-digest@yahoogroups.com
mailto:perl-beginner-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
perl-beginner-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|