in reply to Re: Strange AUTOLOAD's bevavior with utf8 data
in thread Strange AUTOLOAD's bevavior with utf8 data
Thanks for your reply.
I've looked at my code again before posting here full module source and found string in my AUTOLOAD sub that stoped my app:
carp "value now is ".$value; # ..this message will not be printed if $value is utf8 string
So I found the real error source: combination carp & use diagnostics
Can you check following code in your environment?:
#!/usr/bin/perl use strict; #use diagnostics; # when uncommented will freeze the app use Carp; print "before carp\n"; carp "\x{41f}\x{440}\x{438}\x{432}\x{435}\x{442}"; #'Hello' in Russian print "after carp\n";
Is this a normal reaction on "use diagnostics"?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Strange AUTOLOAD's bevavior with utf8 data
by ikegami (Patriarch) on Apr 29, 2009 at 13:48 UTC |