Search results

  1. T

    where can i get free hosting with Perl?

    I'm after some free hosting (like angelfire) that will let me use Perl. I dont mind adverts on my site as I only want to test programs and pages on it. Thanks for your help.
  2. T

    where can i get free hosting with Perl?

    I'm after some free hosting (like angelfire) that will let me use Perl. I dont mind adverts on my site as I only want to test programs and pages on it. Thanks for your help.
  3. T

    where can i get free hosting with Perl?

    I'm after some free hosting (like angelfire) that will let me use Perl. I dont mind adverts on my site as I only want to test programs and pages on it. Thanks for your help.
  4. T

    where can i get free hosting with Perl?

    I'm after some free hosting (like angelfire) that will let me use Perl. I dont mind adverts on my site as I only want to test programs and pages on it. Thanks for your help.
  5. T

    where can i get free hosting with Perl?

    I'm after some free hosting (like angelfire) that will let me use Perl. I dont mind adverts on my site as I only want to test programs and pages on it. Thanks for your help.
  6. T

    How do I stop getting '550 relay not permitted' in Perl?

    I've copied a small program from the internet so I can send emails using Perl, but after changing the email address and smtp I keep getting 'RCPT TO: error (550 relay not permitted)' What does this mean and how do I stop this error? This is the code I have #!/usr/local/bin/perl use...
  7. T

    Is there a way to get round error 550 using Perl?

    I'm trying to make a program using Perl to send emails to a list of email I have. I keep getting a 550 error and I would like to know if there is a way around it? Thanks for your help.
  8. T

    Is there a way to get round error 550 using Perl?

    I'm trying to make a program using Perl to send emails to a list of email I have. I keep getting a 550 error and I would like to know if there is a way around it? Thanks for your help.
  9. T

    How do I stop getting '550 relay not permitted' in Perl?

    I've copied a small program from the internet so I can send emails using Perl, but after changing the email address and smtp I keep getting 'RCPT TO: error (550 relay not permitted)' What does this mean and how do I stop this error? This is the code I have #!/usr/local/bin/perl use...
  10. T

    How can I get Perl to open/make a .txt file using $input for the file name?

    I want to get perl to make the file using $input as the name so if 'name' was saved as $input the file would be called 'name.txt' I've got it like this at the mo: open FILE, ">'$input'.txt" or die $!; but its not working :( anyone got any ideas?
  11. T

    How to call a another program and die in Perl?

    I've got a program that I'm wighting in Perl that I would like to call program2.pl and die if something happens. I've got the line of code: die {exec "program2.pl"}; will that make my first program die? I know it calls program2.pl, but I don't want program1 to keep going. I read some where...
  12. T

    How do I delete the 1st line on a file using perl?

    Hi, I want to delete the first line of a file using perl. In my code, I have the file open and line saved as $line. But how can I delete $line from the file?
  13. T

    how can i speed up a perl program?

    Hi, i've got a program i made using perl, it dose some stuff with quite bit files and I was wondering if it is possible to speed it up up getting more RAM or a better CPU? if so what would be best? at the moment my RAM is 3GB and CPU is 1.66 GHz. Thanks for your help.
  14. T

    how do you replace fields on a table using perl?

    Hi, I got the code below, but I would like to check if an entry is already in the table and if not insert and if it is update it. --CODE-- use strict; use warnings; use DBI; use DBD::AnyData; my $table = "data"; my @fields = qw/ id name /; my %field_def = ( id => 'char(20)', name =>...
  15. T

    Can you help with me Perl spider?

    Hi, I've got a simple spider I've made using Perl. I've got it to check robots.txt using the code below... $browser = LWP::RobotUA->new( 'Fred' , 'me@email'); $browser->timeout(10); my $response = $browser->get($URL); die "$URL -- ", $response->status_line, "\nAborted" unless...
  16. T

    How do I get Perl to print letters in order?

    Hi, I wanna get Perl to print a list if letters, I know how to get it to print numbers (1, 2, 3 ect, ect) but I would like to print letters (a, b, c...... z, aa, ab....... az, ba......) I've got the code below: $x = a; do{ print "$x\n"; $x++; }while($x < 5); $x started as 1 so I got 1...
  17. T

    How do I get Perl to print letters in order?

    Hi, I wanna get Perl to print a list if letters, I know how to get it to print numbers (1, 2, 3 ect, ect) but I would like to print letters (a, b, c...... z, aa, ab....... az, ba......) I've got the code below: $x = a; do{ print "$x\n"; $x++; }while($x < 5); $x started as 1 so I got 1...
  18. T

    Can you help with me Perl spider?

    Hi, I've got a simple spider I've made using Perl. I've got it to check robots.txt using the code below... $browser = LWP::RobotUA->new( 'Fred' , 'me@email'); $browser->timeout(10); my $response = $browser->get($URL); die "$URL -- ", $response->status_line, "\nAborted" unless...
  19. T

    How to search a file using perl?

    I want to search a .txt file for "$data" and if its found call program2.pl and if not print $data. I know how to open and close the file, but can't search the file. I need to match the whole line not just if $data is in the start, middle or end. Thanks for your help.
  20. T

    How to get perl to fill in an online form?

    Hi, I'm making this program in Perl to fill out a form on a webpage but I'm getting an error. The bit I got trouble with is $form = HTML::Form->parse($html, $URL); $form->value(query => "Perl"); I get an error come up saying Can't call method "value" on an undefined value at...
Back
Top