Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: A wrapper script for tmpwatch in Linux written in Perl

by wishartz (Beadle)
on Jul 03, 2007 at 12:14 UTC ( [id://624652]=note: print w/replies, xml ) Need Help??


in reply to Re: A wrapper script for tmpwatch in Linux written in Perl
in thread A wrapper script for tmpwatch in Linux written in Perl

I tried that and it doesn't work because it only enters that part of the if condition, if $host (the machine you are logged into at that time, which I have set with $host =`hostname`) doesn't equal $system->{host}
if ( not $system->{host}{$host})
I need to be able to dreference $system->{host} so it will come up with the name of the hostname, but I don't think that will work because the hostname is the key rather than the value. I think I might have to change my hash. Thanks for your help anyway.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://624652]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found