Thread RegEx, backslash im Pfad (61 answers)
Opened by PETER_PAN2009 at 2010-04-14 15:24

pq
 2010-04-14 15:39
#136014 #136014
User since
2003-08-04
12207 Artikel
Admin1
[Homepage]
user image
doku lesen.
Code: (dl )
1
2
3
4
5
6
       splitpath
Splits a path in to volume, directory, and filename portions. On systems with no concept of volume,
returns ’’ for volume.

($volume,$directories,$file) = File::Spec->splitpath( $path );
($volume,$directories,$file) = File::Spec->splitpath( $path, $no_file );
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread RegEx, backslash im Pfad