Font
Wiki:Tipp zum Debugging: use Data::Dumper; local $Data::Dumper::Useqq = 1; print Dumper \@var;
[thread]5675[/thread]

Absoluten Pfad des Skriptes rausbekommen?: Problemen beim Include... (page 2)

Reader: 1


<< |< 1 2 >| >> 13 entries, 2 pages
gummientchen
 2003-08-31 16:57
#82030 #82030
User since
2003-08-14
26 articles
BenutzerIn
[default_avatar]
Hi,
jetzt sogar mal auf dem Rechner mit 5.8.0 getestet.
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
C:\temp>type tmp.pl
#!/usr/bin/perl -T
use FindBin ();
print $FindBin::Bin;

C:\temp>perl tmp.pl
Too late for "-T" option at tmp.pl line 1.

C:\temp>perl -T tmp.pl
Insecure dependency in chdir while running with -T switch at C:/Programme/Perl/l
ib/Cwd.pm line 419.
BEGIN failed--compilation aborted at C:/Programme/Perl/lib/FindBin.pm line 180.
Compilation failed in require at tmp.pl line 2.
BEGIN failed--compilation aborted at tmp.pl line 2.

C:\temp>perl -v

This is perl, v5.8.0 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2002, Larry Wall

Binary build 804 provided by ActiveState Corp. http://www.ActiveState.com
Built 23:15:13 Dec 1 2002
...
-- never trust a man who can count to 1023 on his fingers --
Dubu
 2003-08-31 21:42
#82031 #82031
User since
2003-08-04
2145 articles
ModeratorIn + EditorIn

user image
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
/tmp> perl -wlT
#!/usr/bin/perl -T
use FindBin ();
print $FindBin::Bin;
^D
/tmp

/tmp> perl -v

This is perl, v5.8.0 built for i586-linux-thread-multi
[...]

Hm.
kabel
 2003-08-31 22:59
#82032 #82032
User since
2003-08-04
704 articles
BenutzerIn
[default_avatar]
Cwd.pm macht ein dispatching ├╝ber das betriebssystem, checke mal ob Cwd.pm standalone im taint-modus funktioniert.

ich tippe mal, dass es nicht funktioniert.. ;)
-- stefan
<< |< 1 2 >| >> 13 entries, 2 pages



View all threads created 2003-08-31 15:33.