Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re5: split to get the dir name

by Plankton (Vicar)
on Sep 29, 2003 at 19:39 UTC ( [id://295084]=note: print w/replies, xml ) Need Help??


in reply to Re5: split to get the dir name
in thread split to get the dir name

So substr is platform dependent because it is being used with ls which is not as platform-dependent as I think?

* blink *

Gee, and I thought you were stupid.

Replies are listed 'Best First'.
Re7: split to get the dir name
by dragonchild (Archbishop) on Sep 29, 2003 at 19:42 UTC
    • The usage of substr with 'ls -l' results in an index that is platform-dependent.
    • The 'ls' command is supported on more than just *nix platforms. How it is implemented (especially the -l flag) is is platform-dependent. It's also locale-dependent.

    ------
    We are the carpenters and bricklayers of the Information Age.

    The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Log In?
Username:
Password:

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

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

    No recent polls found