Miscellaneous > Programming & Networking
perl training wheels
voidmain:
quote:Originally posted by Ex Eleven / b0b:
Perl and Web design, just doesnt work, Im learning PHP4 whcih is the best Web development language i've seen. It can be inside HTML and executed by the server.
--- End quote ---
Heh heh, you're obviously on those mind altering drugs. Perl is a *great* CGI language. I do use PHP more than Perl now for web programming but there is nothing wrong with using Perl CGI programs. You can use *any* language as a CGI program, even C and C++, even shell scripts.
voidmain:
quote:Originally posted by Calum:
So long as perl doesn't create any bad habits, i am happy to learn it prior to php...
--- End quote ---
I program in both and love both. I used to use Perl exclusively for web programming. Now I just use it occasionally and use PHP whenever possible. However, I still use Perl a lot for intermediate systems programming, that is, I use Perl where what I need done is a little bit much for a shell script.
I believe you are better off to know both languages and then use the one that makes the most sense when solving a task. If you know them both well, you'll know which one makes more sense when the time comes.
Calum:
well in the meantime, (translation - haven't set apache up at home yet) i will upload my perl scripts to my calumsmusic.netfirms.com webspace where i have 24.5 Mb left and they have perl installed.
Only thing is, how do i chmod using ftp? (windows ftp at that), any idea? i currently do not have permission to view my new perl file when i view it via a browser as 'masses' or whoever.
Also, i tried to telnet in there to do this and no dice. That's not too good because i also wanted to do a 'which perl' to see if the path is correct in my text file. Can this be done using ftp as well?
the server itself is running Apache/1.3.26 (Unix) mod_perl/1.26 PHP/4.0.4pl1 mod_ssl/2.8.10 OpenSSL/0.9.6a on FreeBSD according to netcraft, but i do need to use windows to connect to the internet sadly.
Master of Reality:
type chmod 0755 /scripts/whatever.cgi when you are logged in the ftp server.
Calum:
Invalid command
remember this is the windows ftp.exe i am using, i ftp into the site, logon and type chmod 0711 /cgi-bin/* and get Invalid command
so what now? I have an ftp GUI at homw called WS_FTP95LE which can chmod, and it runs on windows. how is this done? is it acting as a frontend to ftp, or has it been written with more functions in it that a standard windows ftp.exe?
thanks...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version