SunQuest
           Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old December 26th, 2000, 02:44 PM
PerlFAQ PerlFAQ is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: Internet
Posts: 0 PerlFAQ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
This message is one of several periodic postings to DevShed's Perl forum intended to make it easier for Perl programmers to find answers to common questions. The core of this message represents an excerpt from the documentation provided with every Standard Distribution of Perl.

---------------------------------------------
How can I make the Perl equivalent of a C structure/C++ class/hash or array of hashes or arrays?

Usually a hash ref, perhaps like this:

$record = {
NAME => "Jason",
EMPNO => 132,
TITLE => "deputy peon",
AGE => 23,
SALARY => 37_000,
PALS => [ "Norbert", "Rhys", "Phineas"],
};

References are documented in the perlref manpage and the upcoming the
perlreftut manpage. Examples of complex data structures are given in the
perldsc manpage and the perllol manpage. Examples of structures and
object-oriented classes are in the perltoot manpage.
---------------------------------------------

Documents such as this have been called "Answers to Frequently Asked Questions" or FAQ for short. They serve to reduce the volume of redundant traffic on this bulletin board by providing quality answers to questions that keep comming up. If you find errors or other problems with these postings please send corrections or comments to the posting email address.


------------------
Written by Anonym0us, inspired by the original PerlFAQ Server.

Reply With Quote
  #2  
Old December 26th, 2000, 03:59 PM
guest guest is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 163 guest Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 10 h 1 m 44 sec
Reputation Power: 0
stop posting crap! if people wanted to know all these questions they would ask

Reply With Quote
  #3  
Old December 26th, 2000, 05:21 PM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 469 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 h 19 sec
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
Otherwise know as an anonymous hash!!




------------------
<A HREF="http://www.thunder-rain.com" TARGET=_blank>
Thunder Rain Internet Publishing</A>
Providing Personal/Business
Internet Solutions that work!

Reply With Quote
  #4  
Old December 26th, 2000, 05:49 PM
luciddream luciddream is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: Ft. Lauderdale, FL, US
Posts: 29 luciddream User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
that's why they're posted, i assume, because they are frequently asked.

Reply With Quote
  #5  
Old December 26th, 2000, 09:00 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Pre-answering questions doesn't help at all since people would ask over and over again anyway. In forums, the whole idea is to ask first and answer next.
The way Anonym0us been doing eventually is wasting the resources of devshed and somehow annoying to everyone.
On the other hand, he should ask devshed for permission to add a new PerlFAQ section in the main section of devshed which should be a wiser thing to do.

Reply With Quote
  #6  
Old December 27th, 2000, 01:25 PM
luciddream luciddream is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: Ft. Lauderdale, FL, US
Posts: 29 luciddream User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i dunno, i find the posts very informative, and, even if i already knew most of the info, there is usually something i wasnt aware of in the post.

Reply With Quote
  #7  
Old December 27th, 2000, 04:53 PM
dwarf dwarf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 300 dwarf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
How about hte Perl documentation. All of the FAQs are there...

Reply With Quote
  #8  
Old December 28th, 2000, 12:55 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>i find the posts very informative
>>i assume, because they are frequently asked.

Frequently asked here? I guess not. Look at the time pattern:

PerlFAQ 0 December 18, 2000 01:51 PM
PerlFAQ 0 December 19, 2000 01:41 PM
PerlFAQ 0 December 20, 2000 01:41 PM
PerlFAQ 0 December 21, 2000 01:40 PM
PerlFAQ 0 December 22, 2000 01:40 PM
PerlFAQ 0 December 23, 2000 01:40 PM
PerlFAQ 0 December 24, 2000 01:40 PM
PerlFAQ 0 December 25, 2000 01:41 PM

This indicates he was using an automate-posting script and run via cron and randomly picks out particular FAQ.

Though I strongly agreed with Anonym0us that people should RTFM before posting but the ask first, answer next is the nature of what a forum should be.

Reply With Quote
  #9  
Old January 5th, 2001, 09:20 PM
Anonym0us Anonym0us is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 Anonym0us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Actually, the ones posted are pretty crap compared to the rest. There is some really quality stuff in those FAQ's and eventually someone is going to find them extremely helpful. Besides, how is one post a day wasting resources?

Reply With Quote
  #10  
Old January 6th, 2001, 12:04 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Everyone wants to get the most out of the forums. Ask a question and get an answer, done!
Your posts were neither asking a question nor replying to someone's question. To most of us, it's like getting unwanted junk mails from a mailing list we have never subscribed to.
Say Devshed is a mail client program resides in the hard disk of our computers and we are the owner of our computers and of course, you are the spammer. We don't have to read your junk mails but it's annoying to us. As for your junk mails that reside in our hard drive, that's wasting the resources of our hard drive (Devshed) as well as our internet bandwidth to retrieve emails, that is another waste of resource.
Your FAQs were informative but fewer than 20% of us would click the Search link, so there is a great chance they would miss your posts as time goes by.
We all know that you would like to help, but there are many alternate ways to do it as I mentioned previously.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > FAQ 4.66: How can I make the Perl equivalent of a C structure/C++ class/...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway