[ macperl-Bugs-468857 ] %INC keys have varying formats

[email protected]
Newsgroups perl.macperl.porters
Message-ID <[email protected]>
Bugs item #468857, was opened at 2001-10-07 14:38
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=107940&aid=468857&group_id=7940

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Rose (axelrose)
Assigned to: Nobody/Anonymous (nobody)
Summary: %INC keys have varying formats

Initial Comment:
#!perl -w
use strict;

use Text::Wrap;
use Mac::Conversions;

print "Hello World!\n\n";

for ( keys %INC ) {
	# check anomaly in %INC
	print "malformed key in\n$_ => $INC{$_}\n" if $_ =~ m|:|;
}

print "ready.\n";

__END__

output:
Hello World!

malformed key in
Festplatte:Projekte:MacPerl5.6.1b1:lib:auto:POSIX:load_imports.al => Festplatte:Projekte:MacPerl5.6.1b1:lib:auto:POSIX:load_imports.al
malformed key in
Festplatte:Projekte:MacPerl5.6.1b1:lib:auto:POSIX:autosplit.ix => Festplatte:Projekte:MacPerl5.6.1b1:lib:auto:POSIX:autosplit.ix
malformed key in
Festplatte:Projekte:MacPerl5.6.1b1:lib:auto:DynaLoader:dl_findfile.al => Festplatte:Projekte:MacPerl5.6.1b1:lib:auto:DynaLoader:dl_findfile.al
ready.

i.e. 3 special modules where %INC key is a Mac path
normally a keys looks like "File/Spec/Unix.pm"

It's not really a but but caused problems in the RuntimeBuilder
script and may confuse programmers.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=107940&aid=468857&group_id=7940
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.