1,633 Topics

Member Avatar for
Member Avatar for samaru

[size=4]Beginning Perl[/size] [b]by Simon Cozens, Peter Wainwright[/b] I have gone through several Perl tutorials in the past, and I have to admit that this is the best one I've seen, especially if you already know how to program. I came from a C++ world, so it was relatively easy to …

Member Avatar for samaru
1
175
Member Avatar for spikes

Hi All, I'm haveing some problems with my perl code. the script is for a mail filtering program called mimedefang, the code is the main filter. the fist bit of code is used to filter out mail based on the subject line. sub filter_begin () { my($msgSubject, $hfile) = @_; …

Member Avatar for spikes
0
282
Member Avatar for root

[quote]<form method="POST" action="http://www.geocities.com/zerounixinc/cgi/FormMail.pl"> <P ALIGN="LEFT"><FONT SIZE="3">Name <input type="text" name="Name" size="20"> E-mail <input type="text" name="Email" size="20"> Address <textarea rows="3" name="Address" cols="29"></textarea> Subject <select size="1" name="Subject"> <option selected>Computer Repair</option> <option>Computer Setup</option> <option>Networking</option> <option>Building</option> <option>Other</option> </select>& Discription Of Job <textarea name="Description" cols="47" rows="4" wrap="true"></textarea></p> <p align="left"> <input type=hidden name="recipient" value="tyler@tc3net.com"> <span style="background-color: #008000"> …

Member Avatar for liliafan
0
215
Member Avatar for samaru

[url=http://interviews.slashdot.org/article.pl?sid=02/08/25/236217&mode=thread&tid=145]http://interviews.slashdot.org/article.pl?sid=02/08/25/236217&mode=thread&tid=145[/url]

Member Avatar for alc6379
0
280
Member Avatar for root

I created this into a cgi file [QUOTE] #!/usr/bin/perl # # sload - current server load # print "Content-type: text/html\n\n"; print <<EOM; <META HTTP-EQUIV="Refresh" CONTENT=15> <TITLE> $ENV{SERVER_NAME} HTTPD Load </TITLE> <H2> Current load average of <A HREF=/>$ENV{SERVER_NAME}</A><HR></H2> EOM print `uptime`; print "<P>"; [/QUOTE] Now I want that on my website.. …

Member Avatar for i686-linux
0
222
Member Avatar for IbnKuldun

I want to open and parse the contents of a web page on the WWW. Is there anyway I can do this using PERL?

Member Avatar for Eico
0
184
Member Avatar for samaru

Everyone knows that usually every Perl program should start with something along the lines of "#!/usr/bin/perl" ... what's often called as "shebang." Anyone know why? I just read this cute post on google... The exclamation point has been nicknamed "bang" for as long as I can remember. (Back in the …

Member Avatar for samaru
0
414
Member Avatar for IbnKuldun

What exactly is Safe Perl and is there a place where you can find ready made Safe Perl compliant scripts?

Member Avatar for Eico
0
152
Member Avatar for samaru

You ever use Perl? What are you thoughts? How does it compete with newer languages? Can it be used for the enterprise arena?

Member Avatar for i686-linux
0
199
Member Avatar for consultant

I'm a long time Perl programmer that has developed some pretty complex E-commerce sites using Perl CGI and mySQL. I have a brand new site development project which will also be a dynamic, mySQL driven site. I've done some reading about Perl versus PHP and it appears the main conclusions …

Member Avatar for samaru
0
348
Member Avatar for rozalla2002

using the following allocate process function i need a deallocate process function but i dont know how to do it. :unsure: Could anyone help? Here is the code: [code]sub allocateProcess&#40;&#41; &#123; my $found=0; my $sizeNeeded=0; my $spaceNotFound=0; my $ID=0; my $size=0; system&#40;"clear"&#41;; print "Process ID&#58; "; $ID=<STDIN>; chomp&#40;$ID&#41;; for&#40;$i=0;$i<$processes;$i++&#41; &#123; …

0
103
Member Avatar for samaru

A while ago I caught a small error in the book "Beginning Perl" by Simon Cozens, a Wrox book. Since the editor didn't know my name, he wrote down my Yahoo! username which I e-mailed him with. It's kind of funny seeing "inscissorx" on the page... http://www.wrox.com/acon16h1.asp?WROXEMPTOKEN=121107ZHEunvKL25OekNE6At4E&BookID=403&ExpandID=3324

Member Avatar for aeinstein
0
255
Member Avatar for samaru

If anyone wants to develop Perl applications, a good IDE is OptiPerl. This is one of the best editors I've seen. You can make CGI scripts and test them off line (you see the output on an HTML page), contains color coding, query editor, script output screen (for console programs), …

Member Avatar for samaru
0
269

The End.