What do you see if you do:
print Dumper({ user_id => $rec2{'Userid'}, test => $user } );
That should print out any extra characters in the string
Also - in array_to_hash2() do you "chomp" the line, to remove any ending newlines/return breaks?
Cheer
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
use Data::Dumper; print Dumper({ user_id => $rec2{'Userid'}, test => $user } );
That should print out any extra characters in the string
Also - in array_to_hash2() do you "chomp" the line, to remove any ending newlines/return breaks?
Cheer
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!