Add cgi args parser
authorJamie Cameron <jcameron@webmin.com>
Sun, 7 Jun 2009 19:44:15 +0000 (19:44 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 7 Jun 2009 19:44:15 +0000 (19:44 +0000)
cpan/cgi_args.pl [new file with mode: 0644]

diff --git a/cpan/cgi_args.pl b/cpan/cgi_args.pl
new file mode 100644 (file)
index 0000000..b795946
--- /dev/null
@@ -0,0 +1,11 @@
+
+do 'cpan-lib.pl';
+
+sub cgi_args
+{
+my ($cgi) = @_;
+if ($cgi eq 'edit_mod.cgi') {
+       return 'idx=0&midx=0';
+       }
+return undef;
+}