Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Strawberry Perl 64bit on Win7 crashes on DBI-function

by CountZero (Bishop)
on Apr 17, 2014 at 18:33 UTC ( [id://1082673]=note: print w/replies, xml ) Need Help??


in reply to Strawberry Perl 64bit on Win7 crashes on DBI-function

I run Strawberry Perl on Windows 7 Enterprise 64bit (perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-multi-thread), DBI 1.631, DBD::ODBC 1.48 and I tried the following:

use Modern::Perl; use DBI; my @dataSources = DBI->data_sources('ODBC'); say "@dataSources";
and got the following result:

dbi:ODBC:bbdb dbi:ODBC:dBASE Files dbi:ODBC:Excel Files dbi:ODBC:MS Access Database dbi:ODBC:Visual FoxPro Database dbi:ODBC:Visual FoxPro Tables dbi:ODBC:SQLite3 Datasource

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^2: Strawberry Perl 64bit on Win7 crashes on DBI-function
by chacham (Prior) on Apr 18, 2014 at 03:25 UTC

    Does this small script fail in 5.18.1 as well? If yes, this would seem to be a problem with the later build. If no, perhaps you can comment out most of the script and uncomment them to find the offending/conflicting line.

      So i tried your little script, which is exactly what i'm doing, and it crashes also.

      No error message from perl itself, no warnings, windows just stops the perl process...

      strange.

      any further ideas appreciated.

Re^2: Strawberry Perl 64bit on Win7 crashes on DBI-function
by theman824 (Novice) on Apr 22, 2014 at 11:07 UTC

    This is very interesting, thank you.

    Apart from the perl version you seem to have a very similar set-up.

      Yes, but I am not sure I have a Strawberry Perl 64bit version, it may be the 32bit version and I have no idea how to check that.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      My blog: Imperial Deltronics
        perl -V

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1082673]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found