in reply to Here document syntax, what is $0 (was: Newbie need a clue)

Well just a hint:
use File::Basename
$0=basename $0;<br>
this will do the same job as $0 =~ s#.*/##;
But maybe it`s better to understand.
----------------------------------- --the good, the bad and the physi-- -----------------------------------