Skip to content

Instantly share code, notes, and snippets.

@moznion
Created October 18, 2012 13:17
Show Gist options
  • Save moznion/3911761 to your computer and use it in GitHub Desktop.
Save moznion/3911761 to your computer and use it in GitHub Desktop.
Get full path of executing script
use FindBin;
sub get_full_path {
return $FindBin::Bin . '/' . $FindBin::Script;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment