Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Unable to display data from hash array

by Happy-the-monk (Canon)
on Jun 14, 2004 at 13:56 UTC ( #366549=note: print w/replies, xml ) Need Help??


in reply to Unable to display data from hash array

Where am I making mistake?

In a number of ways:
You are not handling the possible error you store in   $err.
Consult the DBI.pm documentation how to work with   fetchrow_hashref.
You did not tell us much about the templating system to understand if there's anything wrong there.

Cheers, Sören

  • Comment on Re: Unable to display data from hash array

Replies are listed 'Best First'.
Re^2: Unable to display data from hash array
by bar10der (Beadle) on Jun 14, 2004 at 14:34 UTC
    Thanks Sören
    I'll give it a go. By the way, there is no problem with the template. I have tested it with some localy defined vars.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2021-10-25 00:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?