Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
Well... I prefer objects and object tables as data fields smile

shortly: our() creates global class variables while my() creates private variables.

And a Quote from Damian Conway' s OOPerl Book:

Quote
quote:

It may help to think of the two types of variables-package and lexical-in the way the Ancient Greeks thought of their gods. Ancient Greece had big general-purpose gods like Uranus, Zeus, Aphrodite, and Atropos, who existed for all time and could appear anywhere without warning. These are analogous to package variables*.

Then there were the small, specialized gods like the spirits of trees, or doorsteps, or hearths. These gods were restricted to a well-defined domain-a tree, a building, the fireplace -and existed only for a specific period-the life of the tree, the occupation of the building, the duration of a fire. These are like lexical variables: localized and transient.

*The big Greek gods even came in "packages": $Titans::Uranus, $Olympians::Zeus, $Olympians::Aphrodite, $Fates::Atropos.

Sponsored Links
Entire Thread
Subject Posted By Posted
Loading a package from another package Dave_L 10/08/2003 5:21 AM
Re: Loading a package from another package Charles Capps 10/08/2003 5:39 AM
Re: Loading a package from another package Dave_L 10/08/2003 6:11 AM
Re: Loading a package from another package Charles Capps 10/08/2003 6:28 AM
Re: Loading a package from another package Burak 10/08/2003 6:04 PM
Re: Loading a package from another package Dave_L 10/08/2003 6:43 PM
Re: Loading a package from another package Burak 10/08/2003 6:55 PM
Re: Loading a package from another package Charles Capps 10/08/2003 7:24 PM
Re: Loading a package from another package Burak 10/08/2003 7:40 PM
Re: Loading a package from another package Dave_L 10/08/2003 7:56 PM
Re: Loading a package from another package Charles Capps 10/08/2003 8:27 PM
Re: Loading a package from another package Burak 10/08/2003 8:35 PM
Re: Loading a package from another package Dave_L 10/08/2003 8:41 PM
Re: Loading a package from another package Dave_L 10/08/2003 8:52 PM
Re: Loading a package from another package Burak 10/08/2003 8:58 PM
Re: Loading a package from another package Dave_L 10/08/2003 9:09 PM
Re: Loading a package from another package Burak 10/08/2003 9:39 PM
Re: Loading a package from another package Dave_L 10/08/2003 11:31 PM
Re: Loading a package from another package Burak 10/08/2003 11:37 PM
Re: Loading a package from another package Burak 10/08/2003 11:38 PM
Re: Loading a package from another package Dave_L 10/09/2003 7:58 AM
Re: Loading a package from another package Charles Capps 10/09/2003 8:04 AM
Re: Loading a package from another package Dave_L 10/09/2003 8:17 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)