in reply to Right click with IE::Mechanize

get, then open FOO.. print FOO $ie->content

Replies are listed 'Best First'.
Re^2: Right click with IE::Mechanize
by mken (Initiate) on Jul 22, 2008 at 17:25 UTC
    Yes, that does work for text files. I should have mentioned these are pdf files. ie/acrobat intervenes in their handling leaving Mechanize with no content.
    You get this error if you try $ie->content
    Can't use an undefined value as a HASH reference at C:/Perl/site/lib/Win32/IE/Mechanize.pm line 393.
    which is:
    sub content { $_[0]->{agent}->Document->documentElement->{outerHTML} }