http://www.perlmonks.org?node_id=924111

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 (Archbishop) 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.)