perl version
Posted: 31 October 2012 12:48 AM   [ Ignore ]
Newbie
Rank
Total Posts:  18
Joined  2011-11-16

Hi,
I just run the download.pl from this website using strawberry perl, but there seem many problem and the program stops. Would you like to tell me which type of perl you use to run the download.pl? Thanks!
Kai

File Attachments
perl_problem.rar  (File Size: 60KB - Downloads: 0)
Profile
 
 
Posted: 31 October 2012 07:58 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  901
Joined  2011-09-19

hi Kai,

I am using ActivePerl, http://www.activestate.com/activeperl , which is open source for Windows.

Try to get it going with simple scrips, and then add the modules that are used with the PPM (package manager).

Best regards,

Joost

 Signature 

To reply/post new questions: Please use the group WRDS/SAS on Google Groups! http://groups.google.com/d/forum/wrdssas

Profile
 
 
Posted: 04 November 2012 11:25 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  18
Joined  2011-11-16

Thank you, Joost! I installed the modules and Perl works good. I have downloaded the 10-k reports I needed.
Now I am trying to extract the auditing information from 10-k, and I find the program online. But when I run it, the extracted audit report is shown on screen. How can I store the audit report for every firms into separated file (just like 10-k, but only audit report)? It is my first time to use Peal and would you like to help me? The program is attached.
Thanks!
Kai

Joost Impink - 31 October 2012 07:58 AM

hi Kai,

I am using ActivePerl, http://www.activestate.com/activeperl , which is open source for Windows.

Try to get it going with simple scrips, and then add the modules that are used with the PPM (package manager).

Best regards,

Joost

Profile
 
 
Posted: 05 November 2012 10:33 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  901
Joined  2011-09-19

hi Kai,

I don’t see the code; maybe post it as a .txt file (forum probably blocks .pl files).

Nevertheless, writing to file is almost as straightforward as outputting to the screen

# instead of print, write to file
# I am assuming there exists a variable $filename, for example the same as the 10K filename

$fileAudit $filename "AUDIT.txt";
open OUT">$fileAuditor die $!;

# am assuming you know what to write: $contents
print OUT $contents;
close OUT

good luck!

Joost

 Signature 

To reply/post new questions: Please use the group WRDS/SAS on Google Groups! http://groups.google.com/d/forum/wrdssas

Profile