Skip Menu |

This queue is for tickets about the FBP CPAN distribution.

Report information
The Basics
Id: 102739
Status: new
Priority: 0/
Queue: FBP

People
Owner: Nobody in particular
Requestors: dougmoffitt [...] drum-fife.com
Cc:
AdminCc:

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



Subject: FBP-Perl
Date: Thu, 12 Mar 2015 22:03:25 -0400
To: bug-FBP [...] rt.cpan.org
From: Doug Moffitt <dougmoffitt [...] drum-fife.com>
Got FBP-Perl through ppm, so assume its the latest version. Generated an XRC file with FBP, having the .fbp extension. Ran FBP-Perl as follows: use warnings; use strict; use FBP::Perl; use XML::SAX; use XML::SAX::base; my $fbp = FBP->new; # open (FILE2, '<', 'XRC for Recipe System.fbp') or die 'Unopenable'; $fbp->parse_file( 'XRC for Recipe System.fbp' ); my $generator = FBP::Perl->new( project => $fbp->project ); open( FILE, '>', 'XRC for Recipe System.pm'); print $generator->flatten( $generator->dialog_class( $fbp->dialog('XRC for Recipe System') ) ); close FILE; This dies with the error message: Can't call method "name" on an undefined value at <path>Perl.pm line 791. Do all of the XML line items from FBP with no value have to be culled before running FBP? I'm fairly new at this and have no idea how to proceed? D