'aloo, Im playing around with perl on my cooker box and i've noticed something very odd. I wrote a little script that is supposed to check if a directory exists or not and return a result based on the check. It works on my redhat system, but not my cooker box (this is why im emailing cooker and not a perl list :).
Here is the script: ------------begin-------------------- #!/usr/bin/perl $dir_check = "/home/daz/archos"; if (-d "$dir_check") { $results = "success"; } else { $results = "failure"; } print "$results"; -----------end----------------------- like I said, I know the script works (it does on my redhat (6.2 and 7.2) box anyway). Any idea why it wont work on coooker? David -- "I find your lack of faith disturbing." --Darth Vader --- 7:15am up 4 days, 19:27, 2 users, load average: 0.00, 0.00, 0.00