Explore BrainMass

Explore BrainMass

    How to read data using Perl

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    How do you read data using Perl?

    See the attached file.

    © BrainMass Inc. brainmass.com October 9, 2019, 6:26 pm ad1c9bdddf


    Solution Preview

    See the attached file.
    while (<DATA>) { #while the handle DATA is true; it has more lines
    print unless ...

    Solution Summary

    Gives an example piece of Perl code that shows how to read data until a search string is found.