http://qs321.pair.com?node_id=526117

bsdwolf has asked for the wisdom of the Perl Monks concerning the following question:

Greetings,

I am having some severe issues with CSV failing to retrieve more than the first record, even when following TO THE LETTER the example given to retrieve /etc/passwd as a CSV DB.

If anyone can provide me with some insight as to WHY, I'd be grateful.

The details:

OS: Solaris 9/Dead Rat 8
Perl: 5.8.3 (Sol), 5.6.0 (Lnx)
DBD::CSV module version: unknown

SELECT THANKS FROM advance WHERE THANKS > 0;

--*greywolf;
/* relayer halo gmail */

Replies are listed 'Best First'.
Re: DBD::CSV failing
by diotalevi (Canon) on Jan 28, 2006 at 01:11 UTC

    I'm having some severe issues with the lack of information in your question. Show your code, data, results, and a statement about what wasn't correct.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

        Single quotes don't interpolate and there is no literal \n in your password file.

        Try changing the single quote to double quotes:

        'eol' => '\n', should be 'eol' => "\n",