[VPM] Printing one line over several lines

Peter Scott Peter at PSDT.com
Thu Mar 27 13:50:58 CST 2003


At 11:45 AM 3/27/2003 -0800, Carl B. Constantine wrote:
>*On Wed Mar 26, 2003 at 07:15:01PM -0800, Peter Scott (Peter at PSDT.com) wrote:
> > >the idea being to try and fit the report into 80 columns as much as
> > >possible. Quit frankly that header could be slightly different, like say
> > >the rp & tp and the test printers down a line or two, but the principle
> > >is the same.
> >
> > Yeah, that's pretty gross, and the right justification sucks.
> >
> > I don't have time to test this, but something like this perhaps:
> >
> > my @split_names = map split_name($_), @allPrinters;
>
>interestingly, I get an error on the above line even though I put this
>section of the code in a new routine to test it out:
>
>Global symbol "@split_names" requires explicit package name at
>resPrint.pl line 617
>
>but, I/you used "my @split_names" so what is it complaining about a
>global for? Nothing like that exists anywhere else in my code.

Probably a syntax error on an immediately preceding line.

-- 
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/




More information about the Victoria-pm mailing list