In article <[EMAIL PROTECTED]>, Alan C. wrote:
[...]
> print @foodlist, "\n\n";
> print "$foodlist[0]\n";
> print "$foodlist[1]\n";
>
> # hmm, @foodlist prints without space between each word; I not sure how
> to get a space put back in between each word there.
One "quick and easy way":
print "
Kevin Pfeiffer wrote:
>
> In article <[EMAIL PROTECTED]>, John W. Krahn wrote:
>
> [orig. question clipped]
>
> >
> > The simplest way I could think of doing that would be:
> >
> > use warnings;
> > use strict;
> > use Tie::File;
> > use Fcntl ':flock';
> >
> > my $source_file = 'searchandreplac
In article <[EMAIL PROTECTED]>, Paul Archer
wrote:
[top post moved into its chronological place]
> 7:26am, Todd W. wrote:
>
>>
>> "Paul Archer" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> > Is there any (quick and easy) way to get a reverse range, like (10..1),
>> > rather t
Hi.
I am new to perl so hope u wont flame me for asking sth stupid =)
I wanna ask when running Apache 2.046 under Windows XP with mod_cgi, how
can I turn on the taint mode for the Perl interpretor?
(i guess the shebang line wont work since windows nvr look at them anyway.)
Also is mod_perl and mod_
In article <[EMAIL PROTECTED]>, John W. Krahn wrote:
[orig. question clipped]
>
> The simplest way I could think of doing that would be:
>
> use warnings;
> use strict;
> use Tie::File;
> use Fcntl ':flock';
>
> my $source_file = 'searchandreplace.txt';
>
> my $t = tie my @data, 'Tie::File',
Yeah, the parameters keep changing because my buddy and I had
incorrectly remembered the format it was supposd to be (several times).
Sorry about that. Anyway, what you provided did work with some changes.
the code you sent didn't do anything other than give me the command
promt again - but I m
[ Top-posting fixed ]
Mike Robeson wrote:
>
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John W. Krahn)
> wrote:
> >
> > You keep changing the specs Mike. :-) Based on your code and data above,
> > this will work:
> >
> > #!/usr/bin/perl
> > use warnings;
> > use strict;
> >
> > print
On 30 Aug 2003 23:15:03 -0400, [EMAIL PROTECTED] (K Old) wrote:
>Hello everyone,
>
>I'm in need of storing a few pieces of text in a text file on my server
>and want to keep it encrypted, but not permission restricted as Apache
>will need to read it and my webserver runs as the nobody user.
>
>I'm
From: "Nestor, John" <[EMAIL PROTECTED]>
> Sent this MacPerl yesterday, no response yet. But from what little
> I've seen on this error via google, I think it's a reg exp problem,
> not platform specific. Any ideas? Any documentation I should check
> out? All help accepted gratefully.
Please try a
I've got a module that displays to an LCD display (text-based). The module
can also echo what is on the LCD to the screen. But I'm having a slight
problem in that a couple of the characters going to the LCD (and being
echoed to the screen) are unprintable, depending on the terminal type in
use.
So.
Hi!
I found a website that explains how to parse the mails with procmail and
MailAudit (procmail filter send each message that arrives to my perl script),
however there's no explanation for telling procmail to remove that message..
yes:
How can I remove a mail that's its arriving and its been
--On Saturday, August 30, 2003 10:35 PM -0400 K Old
<[EMAIL PROTECTED]> wrote:
On Sat, 2003-08-30 at 22:14, [EMAIL PROTECTED] wrote:
[trying to parse HTML with regexes]
Have a look at the HTML::Parser module at
http://search.cpan.org/dist/HTML-Parser/
Or if that module seems strange, there's th
Hello everyone,
I'm in need of storing a few pieces of text in a text file on my server
and want to keep it encrypted, but not permission restricted as Apache
will need to read it and my webserver runs as the nobody user.
I'm using the Business::OnlinePayment::AuthorizeNet module to process
trans
On Sat, 2003-08-30 at 22:14, [EMAIL PROTECTED] wrote:
> I have a text file with HTML tags just like this:
>
> ABI/INFORM
> Academic Search Premier
> Business Source Premier
>
> How do I go about pulling the text only without the tags. This is what I am
> trying and it is not properly working:
>
I have a text file with HTML tags just like this:
ABI/INFORM
Academic Search Premier
Business Source Premier
How do I go about pulling the text only without the tags. This is what I am
trying and it is not properly working:
while ( my $line = ) {
if($line =~ m/^(||\t)(.*)(<|\t)/g)
15 matches
Mail list logo