I'm using the following code to try and get the output from the cal program assigned to a variable.
open(INCAL,"/usr/bin/cal 1 2004 |");
$calendar = ;
[/code] There is no value assigned to $calander after running this. I've double checked that the cal program is in that directory and when I do '% /usr/bin/cal 1 2004' on the server it prints out the calander.
Another thing to note is that this code works fine on one server but not on the server i've moved the file to.