Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Parsing output

by TVSET (Chaplain)
on Apr 23, 2003 at 07:15 UTC ( [id://252465]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://252465]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-19 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found