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 IamaSherpa 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: abruzzi
  • Order by date
  1. abruzzi

    difference between system and exec ?

    i'm on linux
  2. abruzzi

    difference between system and exec ?

    i've try this but it's not run when the father dead , the child (finded.pl) died; my $dbh = DBI->connect("dbi:Oracle:$dbname", $user, $passwd) or die "Database connection not made: $DBI::errstr"; my $req ="select * from folders where tmp='SL'"; my $sth=$dbh->prepare($req); $sth->execute()...
  3. abruzzi

    difference between system and exec ?

    nobody knows ?
  4. abruzzi

    difference between system and exec ?

    i've try to use nohup, but it's can't run good i've make this : system ('nohup ./b.pl &');
  5. abruzzi

    difference between system and exec ?

    hello, I've script a.pl who call another script b.pl in background like this, exec ('./b.pl &'); if i use system for calling script a, if a.pl failed b.pl failed ? If i use exec, if a.pl failed, b.pl continue to run; It's that ? Thanks
  6. abruzzi

    how to compare 2 date ?

    i can't use use Date::Calc how can i do to convert $madate into it's equivalent epoch date ?
  7. abruzzi

    how to compare 2 date ?

    hello, I've made this script #!/usr/bin/perl -w use strict; use warnings; use English; use POSIX qw(strftime); my $madate1 = strftime( '%d/%m/%Y %H:%M:%S', localtime ); my $madate='22/10/2008 12:00:00'; if ($madate le $madate1) { print "ok\n"; } else { print "ko\n"; } he...
  8. abruzzi

    perl and pid

    my script is like this .... foreach my $var(@list_var) { my $return = system('./test.pl -i $var &'); } ... i want to know the pid of the script i run with in system, to know if this script is end or not; because the $return variable return 0 instead of my script test.pl is always...
  9. abruzzi

    perl and pid

    hello, I've a script; in my script a call a unix command,with qx; how can i do to get the pid of this unix command ? if i make a "print $$" i've got the pid of the script perl i've run but not the pid of the command; Can you help me; thanks
  10. abruzzi

    send mail with MIME

    Hello, I'use MIME Lite for sending mail, i want to print a message if the mail is sending or not; How can i do, to have the return code and know if the mail is sending good; Thanks guys
  11. abruzzi

    problem attach file with perl mime

    yes he is in the same directory i find the problem, it's run good if i want to send another mail to another person with another subject, i must declare a new
  12. abruzzi

    problem attach file with perl mime

    hello, I've this script who must send a mail with joining a log file; this script run good on windows, on unix i've an error , the script attach the log file,but the log file is empty; i don't understand why i'va no data in the joining log file or i've data in the log file; my script my...
  13. abruzzi

    hash in a function

    Hello , I've try but i've not arrived to make a hash in parameter in a function; I've try this sub test{ %values = @_; } sub test{ %values = %_; } but it's not run, can you help me please; Thanks everybody
  14. abruzzi

    perl module

    may be some script don't use perl module and if it the case,i not recover the installed perl module;
  15. abruzzi

    perl module

    hello, It's possible to print what perl module are installed on a unix machin ? Thanks
  16. abruzzi

    using perl DBI and DBD::Oracle

    i've install the oracle client but when i run my script i've this error on line 14 i've this
  17. abruzzi

    using perl DBI and DBD::Oracle

    Hello, I've a machine on windows, and i want to connect on a database oracle on a server unix; For using perl DBI and connecting to the server, I must install a Oracle client on my windows pc ? Thanks for your answers

Part and Inventory Search

Back
Top