Hello,
I have bug report and a question:
1) When I run "sample.pl", I got this error:
ERROR(Can't locate bytes.pm in @INC (@INC contains:
\system\libs\perl\5.9.3\thumb-symbian
\system\libs\perl\5.9.3
\system\libs\perl\siteperl\5.9.3\thumb-symbian
\system\libs\perl\siteperl\5.9.3 \system\libs\perl .)
at E:\system\libs\perl\5.9.3\Data/Dumper.pm line 641.
BEGIN failed--compilation aborted at
E:\system\libs\perl\5.9.3\Data/Dumper.pm line 641.
Compilation failed in require at (eval 1) line 2.
BEGIN failed--compilation aborted at (eval 1) line 2.
)
so, bytes is not compatible with symbian? Currently I
have to do the BEGIN{package bytes;$INC{'bytes.pm'}
=1} trick. I also tried to install bytes.pm and
bytes_heavy.pl from my ActivePerl 5.8.6 installation
and I did not get any errors...
Also there is an uninitialized warning from
DynaLoader line 65:
push(@dl_library_path, split(' ',
$Config::Config{libpth}));
it looks like $Config::Config{libpth} does not exist.
Also what about utf8 and/or Encode? These two
probably won't be needed much, since the overall
symbian port is new, but I want to know the status :)
2) And when I by-pass bytes error I see that %ENV is
empty. will it be empty in the future or will there
be any keys in it? Maybe the os version?
-------------------------------------------
Phone: Nokia 6630 - V 3.45.113 04-01-05 RM-1
Perl: 0.4.0 binary
sample.pl:
#!/perl -w
use strict;
open F, '>', 'E:/foo.txt' or die "open: $!";
eval q!
use Data::Dumper;
print F Data::Dumper->Dump([\%ENV], ['*ENV']);
print F "\n\$^O = $^O\n";
!;
print F "ERROR($@)" if $@;
close F;