Gentlemen,

i have various issues with installing and running WWW::Mechanize::FireFox on my machine.

-well: Mechanize FireFox lets you use FireFox with the Same behaviour as Perl Mechanize itself. You can do many good things -and this lets so save time. A great perl-option to overcome obstacles i enveryday live.

i have had a closer look at the many things

Q: do i have two instances of Perl on the machine?! did i manage to install Mecha::FireFox correctly is FireFox running with JavaScript enabled. One of the key items on my CPAN configuration is 'prerequisite_policy follow'; Well to be frank that is the most sensible choice. If a prerequisite module is missing, it will be installed automatically. Well i have looked at many things - my trace shows this happening; some of the modules needed are probably missing, so it tries to install them before installing WWW::Mechanize::Firefox. I do note that my config contains several strange things ...

use WWW::Mechanize::Firefox; my $mech = WWW::Mechanize::Firefox->new( tab => 'current', ); $mech->get('http://google.com', ':content_file' => 'google_com.html' );

martin@linux-wyee:~/perl> perl moz_test3.pl Can't locate WWW/Mechanize/Firefox.pm in @INC (@INC contains: /usr/lib +/perl5/site_perl/5.16.0/i586-linux-thread-multi /usr/lib/perl5/site_p +erl/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/i586-linux-thread-multi +/usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/i586-linux-th +read-multi /usr/lib/perl5/5.16.0 /usr/lib/perl5/site_perl/5.16.0/i586 +-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/si +te_perl .) at moz_test3.pl line 1. BEGIN failed--compilation aborted at moz_test3.pl line 1. martin@linux-wyee:~/perl>




cpan[1]> o conf $CPAN::Config options from /root/.cpan/CPAN/MyConfig.pm: commit [Commit changes to disk] defaults [Reload defaults from disk] help [Short help about 'o conf' usage] init [Interactive setting of all options] applypatch [] auto_commit [0] build_cache [100] build_dir [/root/.cpan/build] build_dir_reuse [0] build_requires_install_policy [yes] bzip2 [/usr/bin/bzip2] cache_metadata [1] check_sigs [0] colorize_debug undef colorize_output [0] colorize_print undef colorize_warn undef commandnumber_in_prompt [1] commands_quote undef connect_to_internet_ok [1] cpan_home [/root/.cpan] curl undef dontload_hash undef dontload_list undef ftp undef ftp_passive [1] ftp_proxy [] ftpstats_period undef ftpstats_size undef getcwd [cwd] gpg [/usr/bin/gpg] gzip [/usr/bin/gzip] halt_on_failure [0] histfile [/root/.cpan/histfile] histsize [100] http_proxy [] inactivity_timeout [0] index_expire [1] inhibit_startup_message [0] keep_source_where [/root/.cpan/sources] load_module_verbosity [none] lynx undef make [/usr/bin/make] make_arg [] make_install_arg [] make_install_make_command [/usr/bin/make] makepl_arg [] mbuild_arg [] mbuild_install_arg [] mbuild_install_build_command [./Build] mbuildpl_arg [] ncftp undef ncftpget undef no_proxy [] pager [less] password undef patch [] patches_dir undef perl5lib_verbosity [none] prefer_external_tar [1] prefer_installer [MB] prefs_dir [/root/.cpan/prefs] prerequisites_policy [follow] proxy_pass undef proxy_user undef randomize_urllist undef scan_cache [atstart] shell [/bin/bash] show_unparsable_versions [0] show_upload_date [0] show_zero_versions [0] tar [/bin/tar] tar_verbosity [none] term_is_latin [1] term_ornaments [1] test_report [0] trust_test_report_history [0] unzip [/usr/bin/unzip] urllist 0 [http://artfiles.org/cpan.org/] 1 [http://www.idg.pl/mirrors/CPAN/] 2 [http://ftp.heanet.ie/mirrors/ftp.perl.org/pub/CPAN/] use_sqlite [0] username undef version_timeout [15] wait_list undef wget [/usr/bin/wget] yaml_load_code [0] yaml_module [YAML]



what do you say. I guess that this strange behaviour i get everytime i try to start Mechnize-FireFox is quite a side-effect of my installation and configuration

In reply to perl configuration shows some very strange things... [an easy one] by Perlbeginner1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.