Hi, Period (.) is a metacharacter so will not work. Needs to be escaped. Like so:
$/=~/\./; It would have been set elsewhere before testing. Having you looked up Splitting the String (Digest No. 752). There you'll find the following from one of the contributors $a = 'abcdef'; @arr = split (//,$a); Then you can use join like: $line = join ":", @arr; $/ = ":"; # input record separate; Now reading the line should read character by character. Hope this helps. Alfred Vahau Project Breeze SNPS ---------------------------------------------------- Is there anyway to change the Default Input Record Separator.. or $/ .. to allow me to read a character at a time? I tried $/=~ /./; but it doesn't work. Thanks, Agustin Rivera Webmaster, Pollstar.com http://www.pollstar.com