use WWW::Mechanize::PhantomJS::DSL $mech;
my @links = selector(a);
print $_->get_text(),"\n" for @links;
This module exports all methods of one WWW::Mechanize::PhantomJS
object as subroutines. That way, you can write short scripts without
cluttering every line with $mech->.
This module is highly experimental and might vanish from the distribution
again if I find that it is useless.