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 Chriss Miller 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. przytulaguy

    perl and dbi:db2

    I don't know if this forum also handles perl dbi, but I don't see any other forum for this. Is there also a command similar to dbi->connect to execute the db2 attach command (to act as the instance) and retrieve info from dbm cfg setting ? Thanks for all info/help Best Regards, Guy Przytula
  2. przytulaguy

    call perl from perl

    what is the most recommended way to call a perl program from within a perl program. I have prog1.pl and want to execute prog2.pl (in windows) with parameters from within prog1 I can also be invoked from command line like : prog2.pl --days=300 --subdir=d:\db2scripts\tmp --delete=Y has prog2 to be...
  3. przytulaguy

    strict and variable

    I used this : use DirHandle; $d = new DirHandle "."; and this corrected all my problems Thanks for all info/help Best Regards, Guy Przytula
  4. przytulaguy

    strict and variable

    Thanks for all update : but even a small program like F:\TRANSFER>test.pl Can't use string ("DEL0") as a symbol ref while "strict refs" in use at F:\TRANSFER\test.pl line 5. F:\TRANSFER>type test.pl #! perl -w use strict; my $var1 = '0'; my $handle = "DEL$var1"...
  5. przytulaguy

    strict and variable

    thanks for the update but this is not to open a file but open a directory and read all filenames/dates Best Regards, Guy Przytula
  6. przytulaguy

    strict and variable

    I am using this use strict $var1=0 $handle="DEL".$var1 I wanted to use opendir($hanle,"xxxxx") or die .... .. I get Can't use string ("DEL0") as a symbol ref while "strict refs" Is there a way to use a variable instead of a fix DIRHANDLE as I want to open multi handles and do not know in...
  7. przytulaguy

    perl timeout

    we ship mail with builtin function of perl. there is a library that can be included that gives these options. we use the smtp server on our network, also used for external mail deliveries. There is no timeout option on this Best Regards, Guy Przytula
  8. przytulaguy

    perl timeout

    We are starting some perl jobs in windows. the last step is to ship a mail with the job/status-result when the smtp server is down (?) the perl job gets in a hang condiition because of waiting on the ship mail Is there any possibility in perl or other to avoid this hang and to specifiy that if a...

Part and Inventory Search

Back
Top