Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Here document construct problem

by thedoe (Monk)
on Feb 17, 2005 at 21:33 UTC ( #432107=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Here document construct problem
in thread Here document construct problem

I apologize for my previous mixup of use strict and use warnings.

As for where the warnings are coming from, they are being generated by variables within the here document starting at line 349. Any variables inside which have not been previously assigned will give you this warning and report line 349. This includes any keys in the data hash which have not been previously assigned, even if the data hash has been created.

A good way to debug it would be using Data::Dumper as previously suggested for the data hash and manually inspecting any other variables used within that here document.


Comment on Re^3: Here document construct problem
Re^4: Here document construct problem
by hok_si_la (Curate) on Feb 17, 2005 at 21:38 UTC
    thedoe,

    I think you are on to something. This would agree with what kutsu advised earlier. I will let you know what the dumper does.

    hok_si_la
Re^4: Here document construct problem
by hok_si_la (Curate) on Feb 18, 2005 at 00:28 UTC
    First, I want to thank everyone who helped me with this via this node or the CB.

    Bart/blokhead pointed out that the commented subroutine calls in my example weren't infact commented as I thought they were. This allowed me to see that the issue was with an ODBC session I was having within the subroutine (printOwners) itself. I instead decided to use DBI and everything seems to be working great.

    Take care!
    hok_si_la

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2014-07-31 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (250 votes), past polls