This is a not terribly impressive and vaguely cute way to deal with the fact that $0 could be different lengths depending on how you call code (./foo, foo, /path/to/foo, etc...)
I find it useful when writing usage statements that span multiple lines, allowing me to line up the code args properly underneath one another.
It's kind of silly, but I need to start posting so I can start voting :)
sub usage
{
my $spaces = " " x ((length $0) + 7);
print "Usage: $0 <some args....>\n";
print $spaces . "<some more args>\n";
exit;
}