Problems? Is your data what you think it is? | |
PerlMonks |
Re: Tied Variables - why?by Anonymous Monk |
on Sep 07, 2002 at 01:21 UTC ( [id://195815]=note: print w/replies, xml ) | Need Help?? |
Hear me out before anyone gets upset. First... one of people's complaints about perl is that it's far too hard to understand and read. While I don't agree, I think tied hashes add an unnecessary layer of complexity that doesn't make much sense when you already have objects
Get real, I was upset right after seeing the title *grin* but seriously, heard of DB_File? The point behind the tie interface is to have the good old familiar perl data structures, like %Hashes and @Arrays, which do incredibly magical things. How is a novice supposed to be able to discern this type of behavior The same way an experienced perl programmer is, by reading the pod of the associated module. You wanna print scalar <FILEHANDLE>, why would you want to print $FileHandle->readline?
In Section
Meditations
|
|