Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

DBD::CSV failing

by bsdwolf (Initiate)
on Jan 28, 2006 at 01:07 UTC ( #526117=perlquestion: print w/replies, xml ) Need Help??

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",

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-12-05 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?