Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: eWish
  • Order by date
  1. eWish

    How to terminate a running process

    Have a look at the kill function. --Kevin
  2. eWish

    Http interaction

    You could WWW::Mechanize for this as well. Have it get the stauts and save it is it returns the 201 status code. --Kevin
  3. eWish

    Problem with CGI.pm on new servers

    My guess would be the same as Kevin's. Have a look at the docs for your answer.
  4. eWish

    File::Copy won't copy *.h files

    I would add a die statement at the end of the open rather than a print statement. Also, are you reading a data file or a directory with your open statement?
  5. eWish

    How do you get every possible permutation..

    Using the your sample data and changing the range to 5001..5003 would return the following. 5503, 5502, 5501 5502, 5503, 5501 5502, 5501, 5503 5503, 5501, 5502 5501, 5503, 5502 5501, 5502, 5503 I hope that helps. --Kevin
  6. eWish

    How do you get every possible permutation..

    Something like this maybe? use Algorithm::Permute; my $p = new Algorithm::Permute(['a'..'d']); while (my @res = $p->next) { print join(", ", @res), "<br>"; } [url=http://search.cpan.org/~edpratomo/Algorithm-Permute-0.11/Permute.pm]Algorithm::Permute[/LINK] Output: d, c, b, a c, d...
  7. eWish

    Could something server-side make Perl no longer write to files?

    It sounds like the writers strike in California. :) What about the machine it is on changed? Has the script been edited recently? --Kevin
  8. eWish

    LOCAL HOST setup

    I am sorry to hear that you are having problems. For me is was a click and run type situation. I don't recall seeing anything that specified XP Pro in lieu of XP home.
  9. eWish

    LOCAL HOST setup

    I recently used XAMPP Windows 1.6.6 [url=http://sourceforge.net/project/downloading.php?groupname=xampp&filename=xampp-win32-1.6.6-installer.exe&use_mirror=superb-west]installer[/LINK] without any problems Windows XP Pro. --Kevin
  10. eWish

    LOCAL HOST setup

    I use [url=http://www.apachefriends.org/en/xampp.html]XAMPP[/LINK] for development. It includes: Apache MySQL PHP + PEAR Perl mod_perl mod_ssl OpenSSL phpMyAdmin Webalizer Mercury Mail Transport System for Win32 and NetWare Systems v3.32 Ming JpGraph FileZilla FTP...
  11. eWish

    DBI Fetchrow_arrayref warning reason

    Can we see the code from your script where you are trying to fetch the row? --Kevin
  12. eWish

    Extracting a string from an XML file

    I answered your question at the other forum you posted your question on. I agree with travs69 you need an XML parser. To many possible problems rolling your own solution.
  13. eWish

    pass value from sub to another sub utilizing AJAX

    If you go to the [url=http://www.perljax.us/demo/]PerlAJAX demo[/LINK] page you can view the source code of the demo scripts which will help with what you are wanting to achieve.
  14. eWish

    Udate table while using placeholders

    The problem has been resolved. Short Answer - The value for id was empty. I decided to used a hidden field in lieu of the url as I originally planned. @MillerH - Your code did work fine once I got the id worked out. @Paul - The is was the only param without a value, all other's were...
  15. eWish

    Udate table while using placeholders

    Thank you MillerH. I tried that as well as this and still no errors, nor does it update the table. $sql = $dbh->prepare("UPDATE sometable SET name=?, category=? WHERE id=$params{'id'}"); $sql->execute($params{'name'}, $params{'category'}); $sql->finish();Also tried this. $sql =...
  16. eWish

    Udate table while using placeholders

    Can you use placeholders when using the UPDATE statement? I have tried the following, however, it does not give an error nor does it update the table. $sql = $dbh->prepare("UPDATE sometable SET (name, category) WHERE id=(?) VALUES (?,?)" , undef, $params{'name'}, $params{'category'})...

Part and Inventory Search

Back
Top