use EventRepository; my $er = EventRepository->new(launch => 'firefox', activate => 1); $er->get('http://google.com');