Find the answer to your Linux question:
Results 1 to 2 of 2
How to print multiple format headers in a single page in PERL ? I need to print a text report, where i would want to show different headers within a ...
  1. #1
    Just Joined! sathiya's Avatar
    Join Date
    Feb 2008
    Location
    Bangalore, India
    Posts
    97

    perl: multiple headers in same page; output format

    How to print multiple format headers in a single page in PERL ?

    I need to print a text report, where i would want to show different headers within a single page such as

    Rank Data
    1 YYYYY
    2 NNNNNN
    ....
    ....

    Serial Number Rank
    1 25
    2 21
    ....
    ....

    Is there a way to do the above in perl, as far as i searched we can have only one kind of header.

  2. #2
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
    Posts
    1,117
    Hi.

    The perl reference book which I currently use most is Perl Best Practices. In it, author Conway advises not to use format/write. He does suggest an alternative: Perl6::Form.

    This may not answer your question directly, but it may solve your problem -- you can decide Perl6::Form - Implements the Perl 6 'form' built-in - search.cpan.org ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...