| Thread | Last Post | Replies |
|
| Need help with regex | 31 Jul 2004 22:02 GMT | 1 |
I have as the output of an unzip command called from a script the following: unzip test.zip Archive: test.zip inflating: arch1.txt
|
| Perl Core | 31 Jul 2004 18:00 GMT | 4 |
Quick question: What's the best way to find out if a module is standard in the Perl Core and if it is, when it was added? Thanks.
|
| getting list of all .html files in a directory and its directories | 31 Jul 2004 07:02 GMT | 9 |
I need to get a list of all the files that end with '.html' in a directory and all of its subdirectories. I then want to search through each file and remove the ones from the list that contain '<%perl>' or '<%init>'. How can I do this? Thanks for any help.
|
| print to both STDOUT and a file? | 30 Jul 2004 21:26 GMT | 4 |
Is there a way to print to both the STDOUT and a physical file. other than ./script.pl >>outfile.txt ? Here is what I have now, which works great, but I would like to see the links (about 2,000) scroll. ---- this works great, but the links don't scroll
|
| problem with splitting on "words" | 30 Jul 2004 19:18 GMT | 3 |
I am having trouble splitting words from titles from a list of research papers. I thought I could split the title into words like so: #!/usr/local/bin/perl use locale;
|
| howto 'cat file|grep "foo bar"|wc -l' in perl | 30 Jul 2004 18:50 GMT | 6 |
I just started using perl and want to rewrite a simple bash script i've been using in the past to perl. I want to cat file|grep "foo bar"|wc -l and tried it the following way which worked for foobar as one word and not as two words.
|
| A simple client/server problem | 30 Jul 2004 14:47 GMT | 2 |
I am very new to Perl. I need two perl scripts, one would run on a client, the other would run on a server. The perl script on the client machine runs an application. The
|
| Warnings with Spreadsheet::WriteExcel | 30 Jul 2004 03:18 GMT | 3 |
I am in process of generating some statistics for different unix boxes. I would like to generate excel workbook with a single worksheet for each box. I had written a test script to create the excel sheet. I was able to create the excel sheet but I encountered some
|
| File not being written to and no errors? | 29 Jul 2004 17:09 GMT | 2 |
I have a file I am trying to read and write to, it's obviously opening it ie.. No errors but not writing to it. Since no errors are being produced I can't figure out why? In short I am reading the file to see if I previously sent an email
|
| use lib - not known at compile time | 29 Jul 2004 17:07 GMT | 4 |
I'm trying to add my own module "DEGS::ldegs" to a Perl program. However, this module will part of a distribution called "RGSE", which could be installed on a different path on different peoples PCs. However, it will always be in the directory "$ENV{RGSE}/lib".
|
| Modifying @INC | 29 Jul 2004 16:05 GMT | 5 |
I want to add some paths to the @INC array to resolve certain package names at runtime. One of the methods is: "push(@INC,$path) or unshift($path,@INC)" and then say "require package_name;".
|
| Endless Loop | 29 Jul 2004 15:34 GMT | 2 |
This may be a dumb question, but why will this loop not end when nothing is entered in STDIN? print "Enter Things:\n"; while (<STDIN>) {
|
| deleting HTML tag...but not everyone | 29 Jul 2004 14:50 GMT | 2 |
I have a problem with a Regular expression. I have to delete from a text all HTML tags but not the DIV one (keeping all the parameters in the tag). I've done this:
|
| sort files by extension | 29 Jul 2004 14:16 GMT | 5 |
I have a list of files I want to case-insensitive sort by extension, files with no extension appearing first. It should handle both Windows and Unix directory separators. I think I have working code, but I am interested in the various syntax for this one - there MUST be a better ...
|
| Keeping track of a variable | 29 Jul 2004 09:00 GMT | 1 |
Can someone please tell me how do we keep track of a variable. ie Whenever a particular variable is accessed (printed, incremented .... etc.), a counter should increase, so that we can know how many times it
|