in reply to Net::FTP and a DG Mainframe

It appears that you would have to use Net::FTP's quot() function to send your ls command and manually parse the results.

regarding multiline parsing, the /s regular expression operator might prove useful for matching expressions across newlines.

Replies are listed 'Best First'.
Re: Re: Net::FTP and a DG Mainframe
by BatGnat (Scribe) on May 25, 2001 at 03:57 UTC
    The problem with that is that ls doesn't provide sizes and file types etc. As for regex's, it is not really what I'm doing. I want to be able to say, more or less, if previous line is incomplete, add next line. I know I can do it using temp variable etc, but I was hoping for an easier way.

    BatGnat

    BALLOT: A multiple choice exam, in which all of the answers above are incorrect!