Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?

Comment on what's going on with this
Download Code
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 (Monsignor) 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-09-01 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (6 votes), past polls