CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
I need 2 Perl scripts

 



Deadeye600
New User

Apr 3, 2006, 1:43 PM

Post #1 of 2 (1049 views)
I need 2 Perl scripts Can't Post

1. First I redirected perlfunc into a text file. For the Perl script: The user needs to input a perl function that he wants help information on. Then it needs to search and retrieve the command information in the perlfunc.txt file. Then the results need to be displayed onto the screen.

2. I have a firewall log firewalllog0.txt. I need a perl script that 1.includes a counter for the total line count. 2.list in an output file the names for each entry attempt by origin name. 3.Total number of accepts and drops. 4.Total list of source IP addresses, & if multiple attempts come from the same IP address, the quantity for each. 5.Total list of destination IP addresses, & if multiple attempts come from same IP address, the quantity for each. All output must be redirected to a text file

What I am really looking for is some example scripts that do just about the same things or scripts for these problems. Thanks for the help.


davorg
Thaumaturge

Apr 5, 2006, 5:02 AM

Post #2 of 2 (1041 views)
Re: [Deadeye600] I need 2 Perl scripts [In reply to] Can't Post


In Reply To
1. First I redirected perlfunc into a text file. For the Perl script: The user needs to input a perl function that he wants help information on. Then it needs to search and retrieve the command information in the perlfunc.txt file. Then the results need to be displayed onto the screen.



Can't you just use "perldoc -f <function> for that?

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives