in reply to Re: DBD:CSV doesn't interpret variable in "$dbh->" open command?
in thread DBD:CSV doesn't interpret variable in "$dbh->" open command?

Double-quotes don't work either. Neither do /'s. That's why I wonder if there is any syntax that succeeds. This example is the closest one to the DBD::CSV documentation.
  • Comment on Re^2: DBD:CSV doesn't interpret variable in "$dbh->" open command?

Replies are listed 'Best First'.
Re^3: DBD:CSV doesn't interpret variable in "$dbh->" open command?
by dragonchild (Archbishop) on Aug 10, 2004 at 18:57 UTC
    Have you printed out what $csvFile contains? Maybe it isn't what you think ...

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested

Re^3: DBD:CSV doesn't interpret variable in "$dbh->" open command?
by ysth (Canon) on Aug 10, 2004 at 19:00 UTC
    From the error message you show, it looks to me like double quotes will work (or better yet, no quotes), but possibly only for relative paths.