in reply to Get PID of child threads

Hi

Try using POSIX::getpid()

Replies are listed 'Best First'.
Re^2: Get PID of child threads
by TS90 (Novice) on Apr 03, 2017 at 22:08 UTC
    That gives the same results as using $$.