I am a 100% perl newbie but am learning. My school has a few kiosk-type computers that only allow sites w/in the school domain to be viewed. This always bugged me so i thought it might be somewhat fun to write a perl cgi that would fetch a page and display it back on the school's server, thus bypassing the filter.
So... what i have is very simple but it works in a terminal but no when i try to view it in a browser... it says "internal server error" which really helps me out. Here we go...
#!/usr/bin/perl -w use LWP::Simple; my $PAGE="http://www.slashdot.org"; $_ = get $PAGE or die "can't fetch page!"; print $_;
Any help would be excellent, as this simple problem really bugs me...
In reply to very simple question... by dockthepod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |