Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-31-2013, 09:16 PM   #1
Registered: Nov 2010
Posts: 87

Rep: Reputation: 0
Operator help


In some config file for a Perl script I see such lines:

use constant DEBUG => 0;
use constant TMP_DIR => 'temp/';
use constant DBS => {hsref => {name => 'Some Name',
                     db => 'SomeDB',
                     parts => 2}};
I could not find definitoion of '=>' operator - is it the same as '=' ? Looks like it, just want to check...
Old 01-31-2013, 10:08 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
As I understand it, it's synonymous with the comma operator.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] C++ Operator Overloading Within an Already Overloaded Operator mirlin510 Programming 8 04-17-2011 01:02 PM
New Operator ? energiza Programming 1 04-02-2009 01:49 PM
What is the operator * ./. . . * royeo Linux - Newbie 2 09-03-2006 07:13 PM
C++ operator += uman Programming 1 02-20-2005 05:37 PM
~ operator linuxanswer Programming 7 04-08-2004 05:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration