Re: [Perl-unix-users] Works great on Windows but not in Unix

2006-06-16 Thread Anthony Ettinger
two things you should do... #!/usr/bin/perl -W is only invoked on linux check perldoc perlrun for passing arguments to both linux and win32 scripts. use diagnostics; may help you. use File::Spec::Functions; can be a nice way of building os-independent file paths. my $path = catfile($vol, @di

[Perl-unix-users] Works great on Windows but not in Unix

2006-06-16 Thread desarrollo
Hello, I wrote this script which worked great on my local Windows box. It lists the contents of the Zip file. But when I publish it on my Unix box I dont even get an error. It just does not work. #!/usr/bin/perl -W use CGI ':standard'; use CGI::Carp qw (fatalsToBrowser); $o_files = new CGI