Hi all, I have 2 simple questions (maybe be very trial): 1. I saw some code put "umask 022;" in the near beginning of perl script. I understand that umask is for changing the file permission in unix/linux. However, if I put "umask 002" in the beginning of a perl script, after execution, the file permission is not changed to 002. So what is the purpose of using this command in perl since it does not change the actual file permission? 2. I tried the simple example in the GD.pm documentation: http://search.cpan.org/~lds/GD-2.35/GD.pm Perl shows me the errors on the line of "print $im->png;": Can't locate object method "png" via package "GD::Image" ..... The perl version in the server is: v5.8.8 What is the problem? And how should I debug it? Thanks in advance.
Regards, Kenneth --------------------------------------------------------------------------------------------------------- This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited. All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto, including its subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment. --------------------------------------------------------------------------------------------------------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/