#!/usr/bin/perl use warnings; my %hash=(\"no1\"=>1, \"no2\"=>2, ); print %hash; #Prints no11no22 print \"%hash\"; #Prints %hash
To quote Nathan Torkington: "The big problem is that % is heavily used in double-quoted strings with printf." More information is here.