Clan x86

Technical (Development, Security, etc.) => General Programming => Topic started by: rabbit on January 04, 2005, 04:42:25 pm

Title: To iago:
Post by: rabbit on January 04, 2005, 04:42:25 pm
OMG PERL.  I know you know it, so tell me a few things:
1. How do I make index.pl act as the default index page (in a blank directory) without doing DirectoryIndex index.pl in .htaccess (I really dislike changing the DirectoryIndex).

2. How do I open a website for read?  The open() call works fine on stuff on the server the page is on, but I can't figure out how to open sites on other servers.
Title: Re: To iago:
Post by: rabbit on January 04, 2005, 04:43:55 pm
Alright that's annoying!  I can't edit my own post -.-

SO,
3. Is there a Perl console I can get for Windows?
Title: Re: To iago:
Post by: rabbit on January 04, 2005, 05:17:14 pm
This is getting fucking annoying:

4. The tutorial I'm using says to use $_ variables, but doesn't tell you how to create them.
Title: Re: To iago:
Post by: iago on January 04, 2005, 06:57:14 pm
$_ is the default for every action.

You can make index.html forward to index.pl with javascript, I suppose.  Either way, the best way to do it is the modify the apache configuration stuff.

www.perl.com has ActivePerl, which is Windows. 

I forget how to open websites.  You have to use the IO:: class I think, to make it easy.
Title: Re: To iago:
Post by: rabbit on January 04, 2005, 09:56:21 pm
Punk, you're the one who stole my JavaOp Win32 Alternate Setup Guide by using perl!

Anyway, ActivePerl is stupid, and I don't like it.  Aside from that, I have to shell out cash if I want my compiled perl applications to run after January 25th (which I don't care about, because I don't want to make apps yet).
Title: Re: To iago:
Post by: Joe on February 14, 2005, 10:20:28 am
They invented P2P for a reason. Pirating isn't it, but it still works.