| Thread | Last Post | Replies |
|
| Array element split, with grep | 30 Apr 2008 23:20 GMT | 5 |
Can someone explain to me how I can fix this up to achieve my desired results? my $time = (split (/:/, (grep (/^info/, @contents))))[0]; A sample snip of data:
|
| removing duplicates | 30 Apr 2008 12:53 GMT | 15 |
I'm trying to write a script to remove duplicate e-mail addresses from a list. I'd like some help understanding... 1. Why does it remove all but one of the duplicate lines?
|
| Formatting output after search and replace | 30 Apr 2008 06:57 GMT | 1 |
I have 2 files one has the input and the other has data that will replace specific string in file 1 eg ----
|
| perl -MCPAN -e shell failed | 30 Apr 2008 02:18 GMT | 2 |
after freshelly installing fedora 9(which is preview version) and which has perl 5.10 fails command line perl module install. Granted that it means I don't have cpan.pm module, how come it didn't come w/ it by default or did I do something wrong?
|
| hash return from a sub | 29 Apr 2008 10:02 GMT | 4 |
How can i return a copy of the hash? (The hash is build correct, but return alsways null) Here a sample of my code: sub mysub {
|
| Perl Sockets Communications | 29 Apr 2008 05:40 GMT | 1 |
Hi List I have just been given the task of finding out why a perl sockets listener application we have is no longer working correctly. The application was written back in 2002 and I am told worked fine until we were forced to install a new
|
| Creating PID file | 29 Apr 2008 00:09 GMT | 22 |
This may be a bit advanced for a beginner's group, but I need to have my script create a pidfile. I'm running a monitor app that keeps track of what is running and notifies me when stuff stops. It does it by comparing the pid in the pidfile with ps. So, I need my script to
|
| web scraping | 28 Apr 2008 21:28 GMT | 2 |
I was hoping to write a simple program (if that's possible) to open a browser, go to a site, and scrape a piece of information from that site. For example, I was hoping to open a Safari of Firefox browser, go to nyt.com and scrape the Dow Jones Industrial Average which is on the ...
|
| Info from flat file | 28 Apr 2008 20:08 GMT | 6 |
I have a log file like this. The part between += are almost similar from which I need to fetch for IP Address and Connection time only for domain perl.com. The perl.com domain may scattered in log. The main intension of my work is that this log keeps a record of the users who visits ...
|
| perl head and tail command ? | 28 Apr 2008 19:40 GMT | 4 |
I would imagine linux's head command can be replaced w/ chop I asked this because I have a filehandle which was, open $source, '/tmp/server.txt' ( and no doing head -1 /tmp/server.txt is not an option since I need to go through some other stuff
|
| Windows Mail | 28 Apr 2008 17:44 GMT | 1 |
Does anyone have example scripts to work with Windows Mail and in particular with usenet groups? I want to build a spam filter to run on all the groups
|
| Following links: What's wrong with me???? | 28 Apr 2008 09:42 GMT | 5 |
This is my first experience w/ PERL and I've searched everywhere but haven't found the answer. As an example, how do I simply open a webpage (www.bloomberg.com) then click on each link within that webpage that contains "Calpers Chief Buenrostro" and then click on
|
| strings printing bug | 27 Apr 2008 18:31 GMT | 5 |
The following script is to read 4 consecutive lines at a time from a file, concatenate the first 3 lines (with a ", "), and print the result to STDOUT. If the 3 lines aren't concatenated they print correctly, however
|
| simple question | 27 Apr 2008 17:58 GMT | 2 |
i have a data set of stock orders and i want to count the number of unique stock symbols in the set. i have turned the data set into an array and based on the message spec, i can identify the stock symbols. but i don't know how to make sure i'm only counting unique ones. i had ...
|
| Unable to finally commit the changes made to some lines in a file using Tie::file | 27 Apr 2008 15:39 GMT | 1 |
I am trying to modify my iTunes Playlist and I want to prepend every playlist name with a specific pseudonym ... I wrote a perl script using Perl::Tie module. Unfortunately, it doesnt write the contents of my array to the file after it is done processing
|