Help for this page

Select Code to Download


  1. or download this
    use File::Spec::Functions qw( rel2abs splitpath );
    print +( splitpath rel2abs $0 )[2];
    
  2. or download this
    use File::Spec::Functions qw( rel2abs );
    use File::Basename;
    print basename rel2abs $0;