in reply to Parsing output

You can use multicharacter patterns to separate fields. If you are talking about filename on a Windoze host, I'd use something like (not tested):

$line = "C:\Winnt\system32\a.exe C:\Winnt\system32\b.exe D:\Files\blah +.exe"; @files = split(#[C-Z]:\#, $line);

Leonid Mamtchenkov

Replies are listed 'Best First'.
Re: Re: Parsing output
by gio (Initiate) on Apr 23, 2003 at 17:48 UTC
    I thought I might need to separate fields. Thanks.