Re: perl system return 256

2010-03-25 Thread syd_p
On 20 Mar, 22:43, rvtol+use...@isolution.nl ("Dr.Ruud") wrote: > syd_p wrote: > > On 18 Mar, 23:10, rvtol+use...@isolution.nl ("Dr.Ruud") wrote: > >> syd_p wrote: > >>> The embedded system call fails ie  returns 256 [i caught the code with > &

Re: perl system return 256

2010-03-20 Thread syd_p
On 18 Mar, 23:10, rvtol+use...@isolution.nl ("Dr.Ruud") wrote: > syd_p wrote: > > The embedded system call fails ie  returns 256 [i caught the code with > > a > > $ret = system (" /usr/bin/cat /tmp/TT.sql | /tmp/TT.cmd");] > > perldoc -f system

perl system return 256

2010-03-18 Thread syd_p
Hello, I am crafting some perl code: ... system (" /usr/bin/cat /tmp/TT.sql | /tmp/TT.sql"); .. the above code works on Solaris perfectly well in a standalone perl script. ie it inserts a line into a database. when I invoke it in a cgi, although I can build the 2 files in /tmp with an open SQLFILE

:Jan 16, 2010

2010-02-03 Thread syd_p
Hi, I need to parse a date in the above format - it is actually the output from redhat chage (which I have in a variable and is the expiry date of a password. Need to compare with the current date calculate the number of days difference. Not quite sure how to go about this - can someone help.

perl DBM RH 5.3 non root install drivers for MS SQL

2009-11-03 Thread syd_p
Hello, I have a requirement to add drivers for mysql and mssql for a couple RH 5.x intel boxes as non-root. DBM and DBI are already installed. perl is 64-bit and version 5.8.8 and has been installed as root. Also there is no Internet access so cpan -e is not possible. So I wonder if someone could