bkiahg has asked for the wisdom of the Perl Monks concerning the following question:
And regardless of the permissions I put on the 2003 box it tells me permission denied.open(MENU, "\\\\servername\\sharename\\path\\tofile.inc") or die "Cann +ot open: $!"; while (<MENU>) {print} close MENU;
It gives me "Bad file descriptor"#! C:/perl/bin/perl.exe -w use strict; use CGI::Carp qw(fatalsToBrowser); use LWP::Simple; my $webpage = get("http://servername/global/admin_menu.inc"); die "Couldn't get it: $!" unless defined $webpage; print "Content-type: text/html\n\n"; print $webpage;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using a 2000 Box to Access an Include File from 2003
by NetWallah (Canon) on Jun 17, 2004 at 23:21 UTC | |
by bkiahg (Pilgrim) on Jun 17, 2004 at 23:30 UTC | |
by NetWallah (Canon) on Jun 18, 2004 at 06:04 UTC | |
|
Re: Using a 2000 Box to Access an Include File from 2003
by sweetblood (Prior) on Jun 17, 2004 at 22:47 UTC | |
by bkiahg (Pilgrim) on Jun 17, 2004 at 23:24 UTC | |
by Anonymous Monk on Jun 18, 2004 at 02:20 UTC |