Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

what's going on with this

by Logicus
on Sep 04, 2011 at 18:42 UTC ( #924111=perlquestion: print w/replies, xml ) Need Help??
Logicus has asked for the wisdom of the Perl Monks concerning the following question:

use Modern::Perl; say $(;

Output : 1000 4 20 24 46 111 119 122 1000

What's going on here then?

Replies are listed 'Best First'.
Re: what's going on with this
by Eliya (Vicar) on Sep 04, 2011 at 18:51 UTC

    Those are the IDs of the groups you belong to (the first is the primary group).  See $(

Re: what's going on with this
by AnomalousMonk (Canon) on Sep 04, 2011 at 19:01 UTC

    See   perldoc -v $(   or  $REAL_GROUP_ID in perlvar. (Update: Oops, didn't see Eliya's link.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://924111]
Approved by ikegami
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-01-23 01:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (190 votes). Check out past polls.