Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

switch.pm module over Solaris

Status
Not open for further replies.

shlomyb

Programmer
Nov 14, 2006
32
IL
Hi

I have a question regarding switch.pm .
I use it over Solaris 5.8 and I get this kind of messages…

Malformed UTF-8 character (unexpected continuation byte 0x93, with no preceding start byte) in bitwise and (&) at /usr/lib/perl5/5.8
.0/Switch.pm line 251.
ip_address
Malformed UTF-8 character (unexpected continuation byte 0x96, with no preceding start byte) in bitwise and (&) at /usr/lib/perl5/5.8
.0/Switch.pm line 251.
Malformed UTF-8 character (unexpected continuation byte 0x8f, with no preceding start byte) in bitwise and (&) at /usr/lib/perl5/5.8
.0/Switch.pm line 251.



Here is my code :

switch($tag){


# case "object_class" {
#$object_class=XMLChildElementGetData($line);
# }


# case "object_instance" {
# $object_instance = $1;
#my $templateName = "$object_class\_$object_instance";
#print(FILE2 "\n\nSCHEDULE \"$templateName\"\n");
#print(FILE2 " DESCRIPTION \"verifies availability of $templateName\"\n");
# }
# else {}



}

Please advice....
 
probably something in your variables, $tag or $line

- Kevin, perl coder unexceptional!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top