PaulTEG, thanks again for your reply. I'm sorry if I wasn't giving you enough information before and I did not mean to obfuscate (had to look it up) my question. I'm asking this question for a work related project and I wasn't sure how much info I was allowed to give out concerning the...
Thanks PaulTEG, there is more code. I didn't think I needed to include it all. $URL is the url of the site I am trying to download files from. Do you need to know the value of $URL to help troubleshoot my problem? Not sure what KevinADC is trying to tell me but thanks anyway for the reply...
Hello all. I am trying to go to a webpage and save the html source. My code is below:
my $cookie_jar = HTTP::Cookies->new(file => "lwp_cookies.dat",autosave => 1);
my $agent = new LWP::UserAgent();
$agent->cookie_jar($cookie_jar);
$agent->credentials($URL,'','username','password')...
BrianAtWork,
Thanks for the input. I did consider that approach but since I originally parsed the document into paragraphs part of the paragraph could be italicized and part not, etc. If that's the case $paragraph->{Range}->{Italic} would return a value of 999999999 or something similar. I...
PaulTEG, thanks for the reply. The Win32::OLE documentation that comes with the standard PERL distribution is all that I have. Actually, $paragraph or $word in the script below stores all text and associated properties. I figured out a way to do it last night after much headache but it's...
Hello everyone. I am attempting to write a PERL script that will open a .doc file and parse it based on certain criteria. So far I am able to open the document, split it up into paragraphs, and write each paragraph to a file using the code below. My problem is that within the paragraph there...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.