Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://924111]
Approved by ikegami
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-10-21 01:56 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (284 votes). Check out past polls.