Permalink
Browse files

use $load and keyed new for Getopt Obj in setup

  • Loading branch information...
1 parent c92848e commit 785cd6a8129b7418e5eb75c712dd484e022b1193 @NotFound committed Sep 14, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 setup.winxed
View
@@ -17,6 +17,8 @@ Handle with care. See DESCRIPTION.
=cut
*/
+$load 'Getopt/Obj.pbc';
+
//**********************************************************************
// Json file read.
@@ -39,8 +41,7 @@ function loadData(string filename)
function main(argv)
{
// Parse command line.
- using extern Getopt.Obj;
- var getopts = new Getopt.Obj();
+ var getopts = new ['Getopt','Obj'];
getopts.notOptStop(1);
getopts.push_string('file=s');
getopts.push_string('v');

0 comments on commit 785cd6a

Please sign in to comment.