President Obama signed legislation on Monday intended to promote a free press around the world, a bipartisan measure inspired by the murder in Pakistan of Daniel Pearl, the Wall Street Journal reporter, shortly after the attacks of Sept. 11, 2001. The legislation, called the Daniel Pearl Freedom of the Press Act, requires the State Department to expand its scrutiny of news media restrictions and intimidation as part of its annual review of human rights in each country. Among other considerations, the department will be required to determine whether foreign governments participate in or condone violations of press freedom. Mr. Pearl, a veteran correspondent for The Journal, was reporting on terrorist groups in Pakistan when he was kidnapped and beheaded in early 2002. Four men were convicted in Pakistan soon afterward, and Khalid Shaikh Mohammed, the self-proclaimed mastermind of 9/11, told American investigators in 2007 that he had killed Mr. Pearl.