in reply to Small first strict obfuscation

Okay ... need some help here ...

From Prog. Perl 2nd Edition

$; is the subscript separator
$/ is the input record separator
$$ is the PID ???? [i.e. $$=(join('',@$)."!");]

What is @$ ? Swap every? PerlMonks search returned nothing.

Even though I don't get it, the !bleep!-ing thing works as designed!!!!

Help! TIA
Dex

I enjoy unobfuscating obfuscation

Replies are listed 'Best First'.
Re: Re: Small first strict obfuscation
by MrNobo1024 (Hermit) on Apr 05, 2001 at 02:40 UTC
    @$ is just another array. It has no special meaning. (Except that use strict dosen't complain about it even if you don't declare it, and it's always in package main)
      THX! So, what is $$ in this context, the PID?
        It usually is the PID, yes. However, it's been assigned another value, so it's just a random global variable now.
        Yeah! (Should be|It is) the PID. Nice, eh? :]