in reply to Re^2: Configuring a Perl script to extract certain records from an ASCII file
in thread Configuring a Perl script to extract certain records from an ASCII file

You say you want to filter by author/$lauthor, so use some comparison operator or regex to compare $lauthor to some other variable or string , see perlintro
  • Comment on Re^3: Configuring a Perl script to extract certain records from an ASCII file

Replies are listed 'Best First'.
Re^4: Configuring a Perl script to extract certain records from an ASCII file
by the-Zoro (Initiate) on May 09, 2011 at 19:27 UTC

    Thank you for your suggestion.

    I would like to filter by $name, as that field is the person who posted the initial forum message. I can't figure out the logic needed to display the information like this:

    • display three (3) of the latest forum messages
    • from the forums specified within the script
    • categorized and listed by the authors (moderators) with their pictures, also specified within the script

    Quite honestly, I posted here as I don't have the necessary advanced skills to complete this non-profit volunteer project. Thanks again to the Perl Monks community for your feedback, suggestions and patience. I hope to find a coding solution for this Perl new.cgi program.

      Quite honestly, I posted here as I don't have the necessary advanced skills to complete this non-profit volunteer project. Thanks again to the Perl Monks community for your feedback, suggestions and patience. I hope to find a coding solution for this Perl new.cgi program.

      Read perlintro and you'll have the skills to write the solution

        I've read Perlintro, in fact, I've been hosting a mirror copy of that website for a couple of years to promote Perl among the younger generation.

        I'm an administrator of Linux servers and promote Perl applications over other languages and fads. Unfortunately, I'm not a seasoned programmer, hence the reason I'm requesting the help of the Perl Monks community. I volunteered myself for this new.cgi project to prove that it can be done in Perl, and that migration to other languages is not necessary.