in reply to From VB to Perl

I'm not sure what you're expecting for colFields() to take as arguments; I've never seen someont try to do bitwise arithmetic or string manipulation on GUIDs (Globally Unique Identifiers). Maybe you want string concatenation ($guid . $address)?

If you want an integer from a hex number constant, it's $num = 0x1234ABCD; don't put quotes around it or you have a string instead of a number. If you have a VB-style hex constant as a string, you might need to do a little conversion:

$foo = '&H3A16001E'; $foo =~ s/ \&H / 0x /x; $num = eval $foo;

--
[ e d @ h a l l e y . c c ]