Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
WWW::Mechanize::PhantoUser:Contributed Perl DWWW::Mechanize::PhantomJS::DSL(3)

NAME
       WWW::Mechanize::PhantomJS::DSL -	Domain Specific	Language for short
       scripts

SYNOPSIS
	   use WWW::Mechanize::PhantomJS::DSL '$mech';

	   get 'http://google.de';

	   my @links = selector('a');
	   print $_->get_text(),"\n" for @links;

	   click($links[0]);

	   print content;

       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.

AUTHORS
       Max Maischein "corion@cpan.org"

COPYRIGHT (c)
       Copyright 2009-2015 by Max Maischein "corion@cpan.org".

LICENSE
       This module is released under the same terms as Perl itself.

perl v5.24.1			  2017-04-21 WWW::Mechanize::PhantomJS::DSL(3)

NAME | SYNOPSIS | AUTHORS | COPYRIGHT (c) | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=WWW::Mechanize::PhantomJS::DSL&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help