| Thread | Last Post | Replies |
|
| Problem with READDIR | 31 Dec 2003 22:16 GMT | 4 |
I have a problem with the following block of code. It works fine when there isn't a *.log file in the same directory as the script but when there is, it always returns that log as the newest file and ignores the list of files it retrieves from the remote server.
|
| Perl Newbie question: How would you take keyboard input and run a shell scrip with that input? | 31 Dec 2003 18:41 GMT | 1 |
For example: I would like for the user to enter the name of a software package to use and then call a shell script to use that package name to upgrade software.
|
| Use of uninitialized value complaint | 31 Dec 2003 17:38 GMT | 3 |
I need help understanding why I'm getting this complaint, Use of uninitialized value in concatenation (.) or string at test.pl line 2. It says its unitialized, but isn't the my $status initializing the scalar? I'm so confused.
|
| command line search and replace | 31 Dec 2003 16:22 GMT | 2 |
When I try the following, perl reads the * as a literal character, instead of my intent as a global value. Anyone see what I am missing? perl -pi -e "s/<provider-url>file:*<\/provider-url>/REPLACED/g" testfile.txt In the file testfile.txt, the line will be something like this: ...
|
| $_ | 31 Dec 2003 13:18 GMT | 12 |
I am going through a file and when I enter a certain routine, I am entering a while loop with the <IN> construct. Is there a way to back the counter up or back up one line before I go into the while loop? a
|
| Escape regex harmful characters | 31 Dec 2003 04:00 GMT | 3 |
I found the subroutine below from a script that takes a string of text and builds a regular expression out of it and incorporates that into a rule for SpamAssassin. It's worked quite well for my needs, but the script has led to a few questions about the code and regex's.
|
| wannabie asks Mail::POP3Client && Mail::Audit | 31 Dec 2003 02:01 GMT | 1 |
Hi, Im new (here|to perl) and would like to start of with that: My script should replace attachmends in mails: however, i cant find any atts. Script first:
|
| for/foreach question | 31 Dec 2003 01:16 GMT | 10 |
I just stumbled upon this in some perl I'm working on: for $arrayref (@datedbi) { #do stuff }
|
| make problem with xs file (Time::Object) | 31 Dec 2003 01:14 GMT | 2 |
I've been struggling for a few days with installing Time::Object (1.00). There's an error message associated with the xs file. My box is a standard RH Linux 9 (single processor) with the built-in Perl 5.8. (and various modules installed via CPAN). Googling turned up 1-2 people ...
|
| Pure Perl df | 30 Dec 2003 22:43 GMT | 4 |
Okay, I'm at a loss and need help. A friend of mine is working with a Perl script. It has a system call to df in it, he would like to replace with something a little more portable. The script is used in a 32 server environment that I know has at least
|
| modify JPEG on the fly | 30 Dec 2003 22:34 GMT | 1 |
I'm using Apache 1.3.27, Perl 5.6.1 with DBI->DBD::Interbase on Linux 2.4 machine. I have a CGI script which display a JPEG from an Interbase Blob. Now, what I would like to do is modify the JPEG to make it into a useful
|
| checking duplicates | 30 Dec 2003 22:30 GMT | 1 |
Hi all, i'm trying to figure out how I can check for duplicates entries in an array and remove the duplicate. Example: 23,23,39,40,44,44
|
| Cosolidate multiple regular expression | 30 Dec 2003 20:55 GMT | 1 |
I have the following regular expressions that I'm performing on a block of text and was wondering if anyone saw a way to consolidate the 9 regex's into a few? $ko =~ s/\r/\\page/g; # change returns to \page
|
| My stupidity! (WAS RE: Mail::Sender weirdness) | 30 Dec 2003 19:29 GMT | 3 |
> > > The thing is I get "Sending...Done" everytime but never a > > dleivery and > > > no hinf tof it in the logs. On one server I needed to use smtp > > > authentication but that set $@ and said connection |
| Art Gallery Perl Script | 30 Dec 2003 19:28 GMT | 1 |
I am looking for Art Gallery Perl script available, can anyone recomend me one ?, thanks. __________________________________ Do you Yahoo!?
|