No such thing as a small change | |
PerlMonks |
Re: Parent directory - regexby periapt (Hermit) |
on Jun 17, 2004 at 12:30 UTC ( [id://367596]=note: print w/replies, xml ) | Need Help?? |
There are many ways to do this sort of thing. If your path is always known in a string then one simple approach is this
An alternative, if the directory your are in is unknown or changes in an unpredictible manner, might be something like this. Note: This is rather inefficient but works.
PJ We are drowning in information and starving for knowledge - Rutherford D. Rogers
|
|
---|
Log In? |
---|
Domain Nodelet? |
Node Status? |
node history Node Type: note [id://367596] help |
Chatterbox? |
How do I use this? • Last hour • Other CB clients |
Other Users? |
Others lurking in the Monastery: (8) As of 2024-04-18 16:18 GMT |
Sections? |
Information? |
Find Nodes? |
Leftovers? |
|
Voting Booth? |
No recent polls found |