Friday, August 12, 2011

Perl Dollar Dollar ($$)

Do you know what does $$ stand for in Perl?
It's the process id of the current process.

print $$;

will print the process id of the current process.

No comments:

Blog Archive