Hello DBI Users, I am experiencing a weird issue with dbi while connecting to mysql database. The goal of this project is to search the man pages available on system and feed the existence of chapter information to mysql database. Here is my code, which does that, It works for a huge list of commands on system except for handful.
*http://pastebin.com/m46d78903* When the above code runs on those handful commands, it gives the output like gzip: compressed data not read from a terminal. Use -f to force decompression. For help, type: gzip -h sh: line 1: gzip:: command not found sh: line 2: /usr/share/man/man1/csh.1.gz: Permission denied csh -> gzip: stdout: Broken pipe /usr/share/man/man1/csh.1.gz 0 0 0 0 0 0 0 0 0 0 0 0 0 0 for csh command. Interesting part is that, by mere having the connect subroutine who makes the connection to the database, I am not sure if it is connecting the database even though not called or what is the issue. :( I saw the above error, if the following code stays in the Perl script. *my $dbh = DBI->connect($connectionInfo,$userid,$passwd**)* If i comment out this line, everything works fine Here is the result if it is commented out : csh -> /usr/share/man/man1/csh.1.gz 1 1 1 0 0 1 1 0 0 0 1 0 1 0 gawk -> /usr/share/man/man1/gawk.1.gz 1 1 1 1 0 1 0 1 0 0 1 0 1 0 mailx -> /usr/share/man/man1p/mailx.1p.gz 1 1 1 1 0 1 1 1 0 1 1 0 0 0 pgawk -> /usr/share/man/man1/pgawk.1.gz 1 1 1 1 0 1 0 1 0 0 1 0 1 0 Please help in investigating who is the culprit in this scenario, This is a part of school project, I am done otherwise but just this part is what is halting the completion. Thanks noble.