![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
creating referencesby hnd (Scribe) |
on Aug 21, 2009 at 06:57 UTC ( #790258=perlquestion: print w/replies, xml ) | Need Help?? |
hnd has asked for the wisdom of the Perl Monks concerning the following question:
i was skimming through the camel book (just revising the long forgotten things) when something struck me..... i made a small program that creates a reference to a scalar and a hash like this the output is right in this case as the compiler need not see a scalar to create a reference but it needs to see a hash to create a reference.... so for this i did now the problem is... the compiler sees that we do hv a hash existing then too the statement hash ref defined doesnt crop up..... why is that????
===================================================== i'am worst at what do best and for this gift i fell blessed... i found it hard it's hard to find well whatever NEVERMIND
Back to
Seekers of Perl Wisdom
|
|