Thread Pfad zu Perl ändern (perlbrew) (13 answers)
Opened by pktm at 2011-09-21 12:49

pktm
 2011-09-21 14:08
#152567 #152567
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Habe mir mal @INC auf der Komsole ausgeben lassen.
Code: (dl )
1
2
3
4
5
6
7
8
9
$ perl -e "use Data::Dumper; print Dumper \@INC;"
$VAR1 = [
'/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level',
'/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1',
'/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/darwin-2level',
'/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1',
'.'
];
$


Das CGI-Skript hingegen liefert folgendes:
Code: (dl )
$VAR1 = [ '/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.10.1//darwin-2level', '/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.10.1/', '/Applications/XAMPP/xamppfiles/lib/perl5/5.10.1/darwin-2level', '/Applications/XAMPP/xamppfiles/lib/perl5/5.10.1', '/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.10.1/darwin-2level', '/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.10.1', '.', '/Applications/XAMPP/xamppfiles' ];


Wird der shebang event. ignoriert?
http://www.intergastro-service.de (mein erstes CMS :) )

View full thread Pfad zu Perl ändern (perlbrew)