Skip to content

Instantly share code, notes, and snippets.

@aanoaa
Created April 9, 2010 04:03
Show Gist options
  • Save aanoaa/360886 to your computer and use it in GitHub Desktop.
Save aanoaa/360886 to your computer and use it in GitHub Desktop.
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,
);
@aanoaa
Copy link
Author

aanoaa commented Apr 9, 2010

summary
from 'form_number => 1' to 'form_number => 2'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment