T
Thomas Theakanath
Perl-php gurus,
I need to port a php program to Perl and wonder the equivalent of
decbin function in PHP could be the following:
sub decbin {
my $num=shift;
my $str = unpack("b*",pack("N",$num));
return $str;
}
Regards
Thomas.
I need to port a php program to Perl and wonder the equivalent of
decbin function in PHP could be the following:
sub decbin {
my $num=shift;
my $str = unpack("b*",pack("N",$num));
return $str;
}
Regards
Thomas.