Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Excel-Template: MergeRange

by perlGyan (Initiate)
on Nov 23, 2012 at 16:02 UTC ( #1005292=perlquestion: print w/ replies, xml ) Need Help??
perlGyan has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am trying to use the module to generate a excel report using the default rendering engine but when i am trying to merge two or more cells using the example on http://search.cpan.org/~rbo/Excel-Template-0.34/lib/Excel/Template/Element/MergeRange.pm ..I keep on getting warnings:

Property 'txtobj' is unrecognized at .....Excel/Template/Element/Merge +Range.pm line 42 Property 'ref' is unrecognized at .....Excel/Template/Element/MergeRan +ge.pm line 42

Comment on Excel-Template: MergeRange
Download Code
Re: Excel-Template: MergeRange
by Anonymous Monk on Nov 23, 2012 at 21:06 UTC
    And then what?
Re: Excel-Template: MergeRange
by Don Coyote (Monk) on Nov 23, 2012 at 21:06 UTC

    hi perlGyan and welcome to perlmonks!

    Please read How do I post a question effectively? you will be more likely to get a response.

    I will ask you, do you have you all the inheritance dependencies? Viewing the write ups against the source the dependencies do not appear so obvious. For example, the inheritance dependancy Excel::Template::Element described on the cpan page for ~/MergeRange.pm appears to serve no other purpose than to call Excel::Template::Base. There is probably a good reason for this which is stored in a deep underground tertiary to a cpan mapping contemplation complex that I do not yet begin to comprehend.

    However, the 'txtobj' may be from module Excel::Template::Factory.

    For an initial response I would suggest ensuring you have the following Modules installed:

    • Excel::Template::Base
    • Excel::Template::Factory
    • Excel::Template::Element
    • Excel::Template::Cell
    • Excel::Template::Range

    I have ocluded Excel::Template::MergeRange from the list for obvious reasons.

    You may already have all these installed.(?) If you do I suggest checking through the inheritance through the source in case there were any I missed.

    Then, if still not working, post an example of the broken code and expected/actual output

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1005292]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2014-09-18 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (116 votes), past polls