That is the content of your file, with those ' => ' and everything? You should describe what you want the resulting %hash to contain, using the example file you provided.
--Brock On 2012.11.14.17.05, jet speed wrote: > Hi > Is there a way, i can build an %hash from a file as Input. Appreciate you > help with this. > > file.txt > ---------------- > > 22:5a => 10.00.00.00.aa.56.9b.7a > 32:9c => 10.00.00.00.aa.46.9b.33 > a2:cc=> 10.00.00.00.aa.5a.9b.63 > > Thanks > Sj -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/