[Chicago-talk] Script creates bad file when not run as root

tiger peng tigerpeng2001 at yahoo.com
Thu Dec 14 09:23:27 PST 2006


My weird expereice:

I worte a perl script which created exaclty same excel reports from two Red-hat (with same version of perl and same version of excel module). MS Excel could open the reports from both hosts, but Lotus email client tool would be crashed for viewing the reports from one host.


----- Original Message ----
From: Mike Fragassi <frag at ripco.com>
To: Chicago.pm chatter <chicago-talk at pm.org>
Sent: Thursday, December 14, 2006 9:41:30 AM
Subject: Re: [Chicago-talk] Script creates bad file when not run as root


How do you know that a spreadsheet is corrupt - just by whether it loads 
in Excel?
How do you get the files from the Linux system to the Windows system?
Are you following exactly the same steps for the files from your root
account as from the non-root account?

Also, try adding the following to the start of your script, in both 
root/non-root forms:

   use Data::Dumper;
   print Dumper(\%INC);

to be sure that both scripts are loading the exact same modules.

-- Mike F.

_______________________________________________
Chicago-talk mailing list
Chicago-talk at pm.org
http://mail.pm.org/mailman/listinfo/chicago-talk





 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


More information about the Chicago-talk mailing list