Loading bbox-misc-code.pl +10 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ use strict; use warnings; use Cwd; use File::Basename; # This is a support script, which is loaded by the various "bbox-workflow" Loading Loading @@ -84,5 +85,14 @@ sub directory_rename { } # folder_name: Given a path, get the name of the last component. # $path: The path. sub folder_name { my ($path) = @_; $path = Cwd::abs_path($path); return File::Basename::basename($path); } # End on a true value. 1; Loading
bbox-misc-code.pl +10 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ use strict; use warnings; use Cwd; use File::Basename; # This is a support script, which is loaded by the various "bbox-workflow" Loading Loading @@ -84,5 +85,14 @@ sub directory_rename { } # folder_name: Given a path, get the name of the last component. # $path: The path. sub folder_name { my ($path) = @_; $path = Cwd::abs_path($path); return File::Basename::basename($path); } # End on a true value. 1;