While this works fine on Linux (process is renamed to 'svenXYtest'), it does not seem to work on Solaris (process is - here - still named 'perl test.pl'). Is this a known limitation or do I do something wrong here? The docs just state that this works on some, not other OSes.#!/usr/bin/perl my $myself = 'svenXYtest'; $0 = $myself; # change my name sleep 60; # to actually have time to look at ps'es output
In reply to Renaming $0 - no effect on Solaris? by svenXY
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |