develooper Front page | perl.perl5.porters | Postings from November 2003

[perl #24498] Codes worked under v5.6.1 but not v5.8.1 on Windows NT

Thread Next
From:
Soun Tran
Date:
November 16, 2003 07:44
Subject:
[perl #24498] Codes worked under v5.6.1 but not v5.8.1 on Windows NT
Message ID:
rt-24498-67488.0.459470693345665@rt.perl.org
# New Ticket Created by  Soun Tran 
# Please include the string:  [perl #24498]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24498 >


Dear Sir/Madam,

The codes below did not work on Perl v5.8.1 on Windows
NT. But the same code work on perl v5.6.1 on Windows
NT.

#!/usr/local/bin/perl
use POSIX;
use Net::FTP;
use File::Copy;
use File::Path;

open(ORA, "|sqlplus -s DB_MAIN/DB_MAIN\@DBDEV01") or
die "Unable connect to the database !!!";
print ORA "set echo on";
print ORA "spool qqq.txt;";
print ORA "select sysdate from dual;";
print ORA "spool off";
print ORA "exit";
close(ORA);

Regards,

Soun


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About