Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Tied Variables - why?

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?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2024-04-24 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found