Skip Menu |

This queue is for tickets about the XTerm-Conf CPAN distribution.

Report information
The Basics
Id: 46829
Status: resolved
Priority: 0/
Queue: XTerm-Conf

People
Owner: Nobody in particular
Requestors: davidp [...] preshweb.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.06
Fixed in: (no value)



Subject: Syntax error - missing comma in xterm-conf script
Fresh install of XTerm::Conf from CPAN: [dave@ruthenium:~]$ xterm-conf String found where operator expected at /usr/bin/perlbin/site/xterm-conf line 14, near "$f "version"" (Missing operator before "version"?) syntax error at /usr/bin/perlbin/site/xterm-conf line 14, near "$f "version"" Execution of /usr/bin/perlbin/site/xterm-conf aborted due to compilation errors. Trivial fix: [dave@ruthenium:~]$ diff -u /tmp/xterm-conf /usr/bin/perlbin/site/xterm-conf --- /tmp/xterm-conf 2009-06-10 17:46:28.710246800 +0100 +++ /usr/bin/perlbin/site/xterm-conf 2009-06-10 17:46:45.187245604 +0100 @@ -10,7 +10,7 @@ my $f; my $p = Getopt::Long::Parser->new; $p->configure('pass_through'); -$p->getoptions("f|force!" => \$f +$p->getoptions("f|force!" => \$f, "version" => sub { print "XTerm::Conf version $XTerm::Conf::VERSION\n"; }, Just in case you're interested: [dave@ruthenium:~]$ perl -v This is perl, v5.10.0 built for i686-linux-thread-multi [dave@ruthenium:~]$ perl -MXTerm::Conf -e 'print $XTerm::Conf::VERSION' 0.06 Cheers :)
Thanks. I just uploaded 0.07. Regards, Slaven