Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(joshua) Re^3: parsing a path

by joshua (Pilgrim)
on Jul 17, 2002 at 18:14 UTC ( [id://182537]=note: print w/replies, xml ) Need Help??


in reply to Re: (joshua)Re: parsing a path
in thread parsing a path

Ah, good point. I was just building on kvale's code though.

Replies are listed 'Best First'.
Re: (joshua)Re^3: parsing a path
by softworkz (Monk) on Jul 18, 2002 at 18:01 UTC
    How about this way..
    #!/usr/bin/perl -w use strict; while (<DATA>) { my @a = split(/\\/); print "$a[1] $a[2] $a[4]\n"; } __DATA__ \nb\v5\srcccc\ans.cpp@@\main\ \nb\v5\srcccc\ans.cpp@@\main\ \nb\v5\srcccc\test.cpp@@\main\ \nb\v5\safe\test.cpp@@\main\ \nb\v5\safe\test.cpp@@\main\

Log In?
Username:
Password:

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

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

    No recent polls found