Skip Menu |

This queue is for tickets about the Games-Go-SGF CPAN distribution.

Report information
The Basics
Id: 12014
Status: new
Priority: 0/
Queue: Games-Go-SGF

People
Owner: Nobody in particular
Requestors: daniel.gilder [...] ntlworld.com
Cc:
AdminCc:

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



Subject: Can't call method "move" on unblessed reference
Hi, I put together basicparser.pl from the manual page for Games::Go::SGF. If the error is in basicparser.pl, I think the manual page should be changed accordingly. Perl v 5.8.5 Program basicparser.pl --- #!/usr/bin/perl # use Games::Go::SGF; my $sgfdata = "(;B[pd])"; my $sgf = new Games::Go::SGF( $sgfdata ); while ($move = $sgf->move($move_no++)) { print "$move_no: ".$move->move,"\n"; } --- Output --- dan: ~/sgf/tools$ perl -w basicparser.pl 1: pd Can't call method "move" on unblessed reference at basicparser.pl line 8. ---