Author Topic: To iago:  (Read 20002 times)

0 Members and 1 Guest are viewing this topic.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
To iago:
« 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.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: To iago:
« Reply #1 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?

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: To iago:
« Reply #2 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.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: To iago:
« Reply #3 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.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: To iago:
« Reply #4 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).

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: To iago:
« Reply #5 on: February 14, 2005, 10:20:28 am »
They invented P2P for a reason. Pirating isn't it, but it still works.
I'd personally do as Joe suggests

You might be right about that, Joe.