Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Creating an object of class main, useful?

by davido (Cardinal)
on Jul 17, 2004 at 07:12 UTC ( [id://375204]=note: print w/replies, xml ) Need Help??


in reply to Re: Creating an object of class main, useful?
in thread Creating an object of class main, useful?

It took some careful thought on what criteria to feed Super Search, but I re-found the post by Abigail-II (from a few months ago) that popped back into my mind out of the blue today, leading me to post this thread.

Here's the link: Re: s/\w/random character/g. In his post, he ties a hash to package main as a cheap / quick and dirty way of implementing a cool solution.

Of course the tied hash isn't the point to my post, but the fact that he tied it to main lead me to realize that there's no reason main can't be a class just like any other package. ...and of course that leaves the original question in tact: why would I want to do that? *grin*


Dave

  • Comment on Re^2: Creating an object of class main, useful?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-23 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found