Created
April 9, 2010 04:03
-
-
Save aanoaa/360886 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gistp b/gistp | |
index acea51a..454b47e 100755 | |
--- a/gistp | |
+++ b/gistp | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/perl | |
+#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use 5.008001; | |
@@ -61,7 +61,7 @@ sub post_gist { | |
my $mech = WWW::Mechanize->new; | |
$mech->get('http://gist.github.com'); | |
$mech->submit_form( | |
- form_number => 1, | |
+ form_number => 2, | |
fields => $fields, | |
); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
summary
from 'form_number => 1' to 'form_number => 2'