Thread relative Pfadangaben in Perlscripten ermöglichen, aber WO? (8 answers)
Opened by Wolfgang_muc at 2010-05-29 11:21

moritz
 2010-05-29 11:29
#137740 #137740
User since
2007-05-11
923 Artikel
HausmeisterIn
[Homepage]
user image
Code (perl): (dl )
1
2
3
4
5
6
chdir '/srv/www/vhosts/domain/httpdocs/'
   or die "Can't chdir to documentroot: $!";

open my $h, '<', 'file_with_relative_path' or die $!;

...

View full thread relative Pfadangaben in Perlscripten ermöglichen, aber WO?