i want put this perl code in another perl file :
my $ua = new LWP::UserAgent(agent => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5');
for example : i want open UP.PL and this perl file copy the above perl code in another perl file (ex:send it into another.pl) what am i going to do ? Thanks in advance .