in reply to Re: Messing with a substring
in thread Messing with a substring
$oldCOORRDIR =""; while ($CURRDIR =~ m/\//) { $COORRDIR = substr($CURRDIR, 0, index($CURRDIR, "/")); unshift (@dacurdirs, "$oldCOORRDIR/$COORRDIR"); $oldCOORRDIR = $COORDIR; $CURRDIR = substr($CURRDIR, index($CURRDIR, "/")); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(bbfu) Re: Messing with (my head) a substring
by bbfu (Curate) on Apr 01, 2001 at 08:23 UTC | |
by psypete (Initiate) on Apr 01, 2001 at 09:28 UTC | |
by bbfu (Curate) on Apr 01, 2001 at 09:42 UTC | |
by repson (Chaplain) on Apr 01, 2001 at 15:01 UTC | |
by bbfu (Curate) on Apr 02, 2001 at 03:39 UTC |