in reply to Re: Problem with an array in a package
in thread Problem with an array in a package

Sorry, my bad. I previewed around 6 times and STILL managed to plug in the wrong code. @landscape_lgl actually reads...
our @landscape_lgl = ( 'set_paper(5)', 'set_landscape()', 'set_margins_LR(.50)', 'set_center()', 'set_hide_gridlines()', 'set_fit_to_pages()', );
Line 79 doesn't just produce the error. It plain doesn't work.

Replies are listed 'Best First'.
Re: Problem with an array in a package
by Abigail-II (Bishop) on Jan 14, 2004 at 20:01 UTC
    Indeed. And that's the problem. You are trying to call a method named set_paper(5), and that method doesn't exist. It's not going to call set_paper with argument 5.

    Abigail