I have been trying to use SAMIE (Simple Automation Module for Internet Explorer) following the directions at http://samie.sourceforge.net/ I uninstalled my perl 5.10 to install 5.8, since 5.10 doesnt support samie. After uninstallying 5.8, i successfully installed samie, but when I try to run a script with use Win32::SAM; I receive an error when running the script. I receive a windows error (i am running XP) that is titled "perl.exe - Unable To Locate Component" - "This application has failed to start because Perl56.dll was not found. Re-installing the application may fix this problem." I have reinstalled 5.8 twice now, restarted the computer several times, and tried to do everything i can to make this work (I cant make www::mechanize work, and win32:OLE alone doesnt have significant options.) Anyway, this is the command prompt text i receive when I try to run it:
Can't load 'C:/Perl/site/lib/auto/Time/HiRes/HiRes.dll' for module Tim +e::HiRes: load_file:The specified module could not be found at C:/Perl/lib/DynaL +oader.pm l ine 229. at C:/Perl/site/lib/Win32/SAM.pm line 10 Compilation failed in require at C:/Perl/site/lib/Win32/SAM.pm line 10 +. BEGIN failed--compilation aborted at C:/Perl/site/lib/Win32/SAM.pm lin +e 10. Compilation failed in require at C:\win.pl line 4. BEGIN failed--compilation aborted at C:\win.pl line 4.
the code of this simple test program is:
use strict; use warnings; # just throwing these in just in case use Win32::OLE; use Win32::SAM; use Win32::Slingshot;
EDIT: also, would it be possible to combine Win32::OLE and Win32::IEAutomation? I find myself requiring methods from both if I must go without SAMIE.

In reply to Win32::Sam / SAMIE by jcdento

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.