summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2012-01-28 12:57:19 +0000
committerrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2012-01-28 12:57:19 +0000
commit71f60315cf4902fdeac4ad87ad94517ca019bc03 (patch)
tree635a16db74fd27f3ba6741e7d4812af633de4f83
parent61d6b759ebf0f6a6936f990ff84364e88c483aff (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-xbin/perload4
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