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: *

  1. mackiew

    Round function !!!!

    Hi Exists or how I do an function that : my $number = 23.23412347 round($number , 2 ) = 23.23 ??? Thanks !
  2. mackiew

    Ping port ???

    Hello ! does anyone know if the "ping" service has a particular port, such as web service uses to be number 80 ? thanks.
  3. mackiew

    To eliminate repeated of an array

    Exist some function to eliminate repeated elements of an Array ??? Example @array = ('a','b','a','x','x','b','c') after function(\@array) @array = ('a','b','x','c') Thanks
  4. mackiew

    SW process not finish

    Hello, I have this problem: I run a Perl program that creates a lot of children processes (with fork) and finishes when all the children have finshed their job (Each one of the children processes performs a task and then finishes). Sometimes the processes that are created with the fork finish...
  5. mackiew

    Pass parameter to a program ???

    Hello ! I have a perl program called myPerlProgram. I want pass a parameter myParameter (scalar) to it as: comandLine> myPerlProgram myParameter <Enter> What code must I include in myPerlProgram to catch myParameter into the program? How I do it?? Thanks !
  6. mackiew

    Perl DBI help Connection refused !!!

    Hi ! 1: $DBI::errstr is null 2. Yes I do can make inserts before this one. in fact, a lot of processes that are copies of this one, (created with &quot;forks&quot;) are making insertions successfully. The problematic code is as follows: if (defined @pointerToARegistros) { foreach...
  7. mackiew

    Perl DBI help Connection refused !!!

    I have this problem: The next message appears when I try to make an INSERT into a table: Connection refused DBD::Pg::st execute failed: ERROR: parser: parse error at or near &quot;refused&quot; The situation is the next: I have a lot of processes making insertions in the same database, and...
  8. mackiew

    fork( ) in Perl Help!!

    Hello Mike: I solved my problem The best solution is on : http://www.digiweb.fr/Support/Manuel/PERL/fork.html Ingenious ¿truth? Thank you , ....regards
  9. mackiew

    fork( ) in Perl Help!!

    Hello Mike : I would like to avoid using wait, because i dont want that the father waits for every child to finish, because i am launching *many* children, and i want them to run *all* concurrently Thank you very much.
  10. mackiew

    fork( ) in Perl Help!!

    I am having this problem: I have Perl script that uses a “for” to launch many processes children using “fork”, the problem is that: the children are left zombies, and therefore arrives at a point in which we cannot create more processes . We thank for any aid that can give us. Our code is...
  11. mackiew

    Net::Ping & Net::DNS help

    Hi Mike I solved my problem !! You help me very much. Zank you very much !!
  12. mackiew

    Net::Ping & Net::DNS help

    Hi Mike I'm going to cosidere your example, but I want show you my case before to leave Net::Ping module. $host = 'www.host.com' $p = Net::Ping->new(&quot;tcp&quot;); print &quot;$host is alive.\n&quot; if $p->ping($host); $p->close(); it work fine I do: $host = '164.73.155.20' $p =...
  13. mackiew

    Net::Ping & Net::DNS help

    I can't run the command as root, but I can call the linux ping directly . How do it? You know what parameter $host must be ? On &quot;tcp&quot; mode if i do $host = 'www.ntlworld.com' it work fine, but if i do $host = '164.73.100.5' or $host = 164.73.100.5 don't work I'm waiting you help...
  14. mackiew

    Net::Ping & Net::DNS help

    Mike: I need root permision for execute with 'icmp' and not have this. What is strict? Thanks for you help I'm going to vote for you. Excuse my English I´m Spanish speaker.
  15. mackiew

    Net::Ping & Net::DNS help

    How to use Net::Ping module?? I do : use Net::Ping $p = Net::Ping->new(&quot;tcp&quot;); print &quot;$host is alive.\n&quot; if $p->ping($host); $p->close(); with a reacheable $host and not print &quot;$host is alive&quot; in a Linux S.O. What must be $host? $host = 126.73.100.100 or $host =...
  16. mackiew

    Net::Ping & Net::DNS help

    How view the entire mesagge?
  17. mackiew

    Net::Ping & Net::DNS help

    Hi Mike, How to use Net::Ping module?? I do : $p = Net::Ping->new(
  18. mackiew

    Net::Ping & Net::DNS help

    Help for this modules users

Part and Inventory Search

Back
Top