You can use a dummy parameter with a unique identifier, like:
perl -V:1234 -w -e ' $a = <>; print $a; '(this example would print some garbage to STOUT, which may be undesirable)
It shows in ps as:
perl -V:1234 -w ...In reply to Re: Suggestions on differentiating child processes
by fglock
in thread Suggestions on differentiating child processes
by gnu@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |