CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Post deleted by scj2012

 



scj2012
Novice

May 17, 2013, 4:44 PM

Post #1 of 7 (279 views)
Post deleted by scj2012

 


g4143
Novice

May 17, 2013, 5:03 PM

Post #2 of 7 (277 views)
Re: [scj2012] Perl syntax [In reply to] Can't Post

The => is refer to as the fat comma. In Perl => is another way to write a comma.


scj2012
Novice

May 17, 2013, 5:05 PM

Post #3 of 7 (275 views)
Post deleted by scj2012 [In reply to]

 


g4143
Novice

May 17, 2013, 6:36 PM

Post #4 of 7 (271 views)
Re: [scj2012] Perl syntax [In reply to] Can't Post

We could tell you more if you tell us what $tz is.


(This post was edited by g4143 on May 17, 2013, 6:37 PM)


scj2012
Novice

May 17, 2013, 6:44 PM

Post #5 of 7 (267 views)
Post deleted by scj2012 [In reply to]

 


g4143
Novice

May 17, 2013, 7:15 PM

Post #6 of 7 (265 views)
Re: [scj2012] Perl syntax [In reply to] Can't Post

The -> is used to access the member function site of the object $tz.


BillKSmith
Veteran

May 18, 2013, 7:17 AM

Post #7 of 7 (249 views)
Re: [scj2012] Perl syntax [In reply to] Can't Post

This is a small sample of object oriented perl code. G4143's answer is written in correct object oriented language. Since you cannot understand that answer, you must do some background work.

First, you must learn to use perl's documentation. From you command line, type:

Code
perldoc perldoc


Use that tool to begin learning about object oriented programming in perl.

Code
perldoc perlobj


The DESCRIPTION section of that document describes several other documents which you may have to read first.

These pages and the answers you already have should answer your original question. If you still have questions about the details, post again!
Good Luck,
Bill

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives