diff options
author | rmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d> | 2012-01-28 12:57:19 +0000 |
---|---|---|
committer | rmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d> | 2012-01-28 12:57:19 +0000 |
commit | 71f60315cf4902fdeac4ad87ad94517ca019bc03 (patch) | |
tree | 635a16db74fd27f3ba6741e7d4812af633de4f83 | |
parent | 61d6b759ebf0f6a6936f990ff84364e88c483aff (diff) |
Switched to using Getopt::Std.
git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@112 2592e710-e01b-42a5-8df0-11608a6cc53d
-rwxr-xr-x | bin/perload | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/perload b/bin/perload index a0ed31c..4dc77c2 100755 --- a/bin/perload +++ b/bin/perload @@ -37,8 +37,8 @@ $current_package = 'main'; # Current package $init_emitted = 0; # True when dataloading stamp was emitted $in_function = 0; -require 'getopt.pl'; -&Getopt; +use Getopt::Std; +getopts("ot"); while (<>) { if ($. == 1 && /^(:|#).*perl/) { # Invocation stub |