On Wednesday, June 26, 2002, at 02:23 , Paul Johnson wrote:
[..]
> I know, since two of my modules do that :-)
[..]
Volks,
I just had the coffee break moment Up And SMACK me in the head.
The Goal - a simple unified standard for perl module management,
hence - "could this module hang in
On Tuesday, June 25, 2002, at 11:44 , Robert Warning wrote:
[..]
> #!/usr/bin/perl at the beginning of any of my programs it wont run. I
> get an output from the shell that says /usr/bin/perl: bad interpreter:
> Permission denied.
This sounds like your version of perl is clearly installed
somewh
On Tue, 25 Jun 2002 [EMAIL PROTECTED] wrote:
> Well, I still can't get my page to display.
kb:
Much earlier in this thread, I think, the fundamental point got lost:
CGI.pm is an added layer of abstraction that creates an additional
opportunity for users to wreak havoc.
When scipting Web ap
On Sun, 23 Jun 2002, Shawn Bower wrote:
> <-->
> my $template = HTML::Template->new(filename=>'weather.html');
> $template->param('CurrTime', $currTime);
> $template->param('CurrTemp', $currTemp);
> $template->param('HiTemp', $hiTemp);
> $template->param('LoTemp', $loTe
On Jun 26, Craig Hammer said:
>Have you ever tried to wade through The Silmarillion?
I resent that. ;) I love that book. I've read it twice through
now. I've read LotR three times, and I'm reading The Hobbit for the third
time, and only now do I realize what a child's book it is.
The Silmari
On Monday, June 24, 2002, at 11:30 , Harry Putnam wrote:
[..]
> One liners have a way of turning into multiliners... thats where a
> small quick script comes in.
[..]
Oh yeah - like sure
and the next thing you know, that script has
a function or two, then it's getting those
functions into
On Wed, Jun 26, 2002 at 12:16:47PM +0100, Nigel Peck wrote:
> For all the CPAN modules I have used so far I have simply uncompressed
> them and used the .pm's as they are. Would someone be kind enough to
> explain to me why I should or shouldn't use the makefile.pl and test.pl
> method of install
At 05:24 PM 6/25/02 -0700, Randal L. Schwartz wrote:
> > "Jeff" == Jeff 'Japhy' Pinyan <[EMAIL PROTECTED]> writes:
>
>Jeff> Perhaps this is because programmers are of the sci-fi/fantasy
>Jeff> book-reading ilk, and LotR is perhaps the pinnacle of fantasy.
>
>As a counterpoint, I read the Hobbi
At 02:09 AM 6/25/02 -0500, Shawn wrote:
>Does anyone know of a IDE debugger that does not choke on complex data
>objects? I have tried all of the following, but they all have a
>serious problem with dereferencing an array of referenced hashes...
>
>VisiPerl
>Open Perl IDE
>OptiPerl
>ActiveState
At 11:19 PM 6/25/02 -0400, Jim Lundeen wrote:
>Greetings,
>
>Does anyone know where I can get a ready-made subroutine that will
>handle submitting charges to Authorize.Net and a second routine that
>will interface (easily!) with OpenSRS?
OpenSRS publishes a dev kit for their resellers that has ve
Don't even try it unless you've read all the rest and you absolutely must
have more Tolkien. It's a bit like reading the Encyclopedia for fun.
I have to admit, I found The Fellowship of the Ring was a slow starter, but
once you get to Rivendell it all gets a lot better. It is definitely worth
At 01:16 PM 6/25/02 +0800, [EMAIL PROTECTED] wrote:
>Hello, All:
>
>This is my first time using the CPAN module.
>
>While using CPAN to download/install a module, CPAN reported that I should
>run 'install Bundle::CPAN' to get the latest stuff. When I entered
>'install Bundle::CPAN' it went about i
Have you ever tried to wade through The Silmarillion?
Craig Hammer
-Original Message-
From: Elias Assmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 3:45 PM
To: Randal L. Schwartz
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Perl programmer born and bred
On 25
hi guys,
is there is any available module/solution to write a perl script that
catch a telephone call and get the extension number and say - say - hello,
you press 5, could this be done?
thanks guys
--
Hytham Shehab
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
On 25 Jun 2002, Randal L. Schwartz wrote:
> > "Jeff" == Jeff 'Japhy' Pinyan <[EMAIL PROTECTED]> writes:
>
> Jeff> Perhaps this is because programmers are of the sci-fi/fantasy
> Jeff> book-reading ilk, and LotR is perhaps the pinnacle of fantasy.
>
> As a counterpoint, I read the Hobbit two o
Shishir, et al --
...and then Shishir K. Singh said...
%
...
% >Again, the most straightforward solution is:
%
% > ($out) = $in =~ /\((.*?)\)/;
%
% You are right ...this will be the the most simple sol..in case nothing needs to be
done to $out...but in case
% some thing needs to be done on
On Wednesday, June 26, 2002, at 08:26 , todd shifflett wrote:
> I have this situation:
> $in = "02 Jul 5.00 (YHZ GA-E)"
>
> I want:
> $out = "YHZGA-E"
you have a two stage problem -
a) get the stuff between the ()
b) remove the white space
if ($in =~ /\
"Mike Garner" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This may not be the best place to post this as PERL is only part of my
> question but here goes:
> I need to add several thousand user accounts to a Windows 2000 Server
> (Active Directory). The acco
Thanks to everyone who gave suggestions. They all were great. I've managed to get it
working smoothly and saved myself a lot of time.
Again, thanks to all.
Dennis
>
> Hi Dennis,
>
> I solved this using Javascript.
> The following will show you how to open a new window for you :
>
> my
> -Original Message-
> From: Balint, Jess [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 3:11 PM
> To: 'Bob Showalter'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Opening a shell with perl.
>
>
> How would script a hookup st in/out/err to the socket?
Assuming $sock is an IO::
How would script a hookup st in/out/err to the socket?
-Original Message-
> -Original Message-
>
>
> Yes. That seems like it will serve as a good base, but what I
> need is some
> way to spawn a shell on computer A to computer B. Kind of a
> backwards telnet
> thing.
Script
IT WORKS!!!
Thanks everyone :)
know I just need to remember all my html code :)
Ernest P. Tucker II
Network Technician
Madison Management Area
Charter Communications
I can get up at nine and be rested, or I can get up at six and be President.
~ Jimmy Carter, 39th
> -Original Message-
> From: Balint, Jess [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 2:58 PM
> To: 'Shishir K. Singh'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Opening a shell with perl.
>
>
> Yes. That seems like it will serve as a good base, but what I
> need is some
>
Yes. That seems like it will serve as a good base, but what I need is some
way to spawn a shell on computer A to computer B. Kind of a backwards telnet
thing.
-Original Message-
From: Shishir K. Singh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 3:03 PM
To: Balint, Jess; [EMA
>Hello all. I have an interesting problem that I may be able to solve with
>perl. I would like to know if anyone thinks this is possible. I want to have
>a perl program that runs on computer A. Every hour or so, it will attempt to
>connect to computer B. If computer B is alive and has a seperate p
Hello all. I have an interesting problem that I may be able to solve with
perl. I would like to know if anyone thinks this is possible. I want to have
a perl program that runs on computer A. Every hour or so, it will attempt to
connect to computer B. If computer B is alive and has a seperate perl
Timothy Johnson wrote at Wed, 26 Jun 2002 19:43:52 +0200:
> Include this line in the header:
>
>Content-Type: text/html
> ...
> From:[EMAIL PROTECTED]
> To:[EMAIL PROTECTED]
> Subject:HTML Mail
> content-type: text/html
^ ^
But take care to Up/Lower-Case-Writing.
Of course write
Tom Stewart wrote at Wed, 26 Jun 2002 16:41:16 +0200:
> There is a book by o'reily mastering Perl/TK that is all about making Perl GUI
>interfaces. I have
> done very little with it at this point, but if you pick up the book it should get
>you started.
>
There's also an O'Reilly book Introdu
Well, I'm not sure how $smail works, but offhand I'd say that the problem is
that you put the content-type line in the message instead of the header.
All header info has to go before the two newlines. Try this:
open(MAIL,"| $smail");
print MAIL "From: etucker\n";
print MAIL "To: $ubr_info{
Ernie --
While I still say it's the WRONG WAY to do it, here's what you need to
know for this example.
...and then Tucker, Ernie said...
%
% This did not work . What am I doing wrong?
%
% open(MAIL,"| $smail");
% print MAIL "From: etucker\n";
%
This did not work . What am I doing wrong?
open(MAIL,"| $smail");
print MAIL "From: etucker\n";
print MAIL "To: $ubr_info{'email'}\n";
print MAIL "Subject: Errors on $ubr_info{'IP'}\n\n";
print MAIL
Just keep it simple and it shouldn't be too painless. As long as all you
need is text and a little formatting it's not to hard.
-Original Message-
From: Shishir K. Singh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 11:00 AM
To: Kipp, James; [EMAIL PROTECTED]
Subject: RE: pe
> > What about the Color ??
>
> >why not learn how to write html ?
>
> >http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF8&q=html+tu
torials&btnG=Google+Search
>Honestly...I have always dreaded HTML with all those tags!! Makes my head
spin:). But then >there's no way out of it:(.
Oh, me too.
> What about the Color ??
>why not learn how to write html ?
>http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF8&q=html+tutorials&btnG=Google+Search
Honestly...I have always dreaded HTML with all those tags!! Makes my head spin:). But
then there's no way out of it:(.
--
To unsubscri
> What about the Color ??
why not learn how to write html ?
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF8&q=html+tutorials&btnG=Go
ogle+Search
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Oh, sorry. That was just a bold example. I thought I'd just give you a
start since this isn't really an html mail mailing list. I'd recommend
looking up some simple html tutorials on Google. Since it sounds like you
really don't need to get that fancy, it should be pretty easy to do.
-Or
Ernie --
...and then Tucker, Ernie said...
%
% I have a perl scipt that emails certain information to me. I would like a
% certain line to be in bold or a different color when it is emailed. Is there
% a way to do this?
There are lots of ways. In fact, there are as many ways as email
clients,
>Include this line in the header:
> Content-Type: text/html
>And then just write out the rest as simple HTML.
>It's been a while since I've done it, but if you send it like this, I think
>it should work.
>From:[EMAIL PROTECTED]
>To:[EMAIL PROTECTED]
>Subject:HTML Mail
>content-type: text
Include this line in the header:
Content-Type: text/html
And then just write out the rest as simple HTML.
It's been a while since I've done it, but if you send it like this, I think
it should work.
From:[EMAIL PROTECTED]
To:[EMAIL PROTECTED]
Subject:HTML Mail
content-type: text/html
how?
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 12:38 PM
To: 'Tucker, Ernie'; [EMAIL PROTECTED]
Subject: RE: perl email
I'd recommend sending it in html mail.
-Original Message-
From: Tucker, Ernie [mailto:[EMAIL PROTE
I'd recommend sending it in html mail.
-Original Message-
From: Tucker, Ernie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 10:32 AM
To: [EMAIL PROTECTED]
Subject: perl email
I have a perl scipt that emails certain information to me. I would like a
certain line to be in bol
>I have a perl scipt that emails certain information to me. I would like a
>certain line to be in bold or a different color when it is emailed. Is there
>a way to do this?
>Ernest P. Tucker II
> Network Technician
> Madison Management Area
> Charter Communications
>I can get up at nine and be
I have a perl scipt that emails certain information to me. I would like a
certain line to be in bold or a different color when it is emailed. Is there
a way to do this?
Ernest P. Tucker II
Network Technician
Madison Management Area
Charter Communications
I can get up at nine and be rested,
> > so far all my libs (well there ain't much ) are all OO pm files.
>
> There is what I would call the 'dataLess' OO solution,
> what is known as a 'utility class' - where one has only
> a stack of methods that one wishes to have in a 'nameSpaceSafe'
> environment - so that you know that
>
>
>
> On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote:
>
> >> $out = $1 if ($in =~ /\((.*?)\)/);
> > Nope..won't work..I take it back!!
> >
>
> >looks ok to me. except it adds extra strokes to previous answer.
> >what do you think is wrong with it?
>
> It will work fine as far
> -Original Message-
> From: Shishir K. Singh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 12:26 PM
> To: bob ackerman; [EMAIL PROTECTED]
> Subject: RE: extracting a string from between parens
>
>
>
> On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote:
>
>
This is more of an MySQL question than a Perl question, but here goes:
A possible error is that you are inserting into the same table you are selecting from.
> my $sth = $dbh->prepare( "SELECT * FROM board where serial='CN+/P422'" ) ||
> my $sth2 = $dbh->prepare("INSERT INTO board @abfrage")
On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote:
>> $out = $1 if ($in =~ /\((.*?)\)/);
> Nope..won't work..I take it back!!
>
>looks ok to me. except it adds extra strokes to previous answer.
>what do you think is wrong with it?
It will work fine as far as the regex is concer
On Wednesday, June 26, 2002, at 07:38 , Kipp, James wrote:
> so which is better? to make a lib file with functions or a modular/OOP pm
> file ?
technically this is a false dichotomy. you can not tell
if the file BAR.pm is an OO style Perl Module, or merely
a Functional/Proceduralist style Perl
> -Original Message-
> From: bob ackerman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 9:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re: extracting a string from between parens
>
>
>
> On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote:
>
> >> $out = $1 if ($
On Wednesday, June 26, 2002, at 08:50 AM, drieux wrote:
> { embedded in that is - so how should I be making perl modules
> in a standard way that will be easiest for the perl community. Trust
> me that question will come - since you started with the right form
> of "I found modules I can us
On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote:
>> $out = $1 if ($in =~ /\((.*?)\)/);
> Nope..won't work..I take it back!!
>
looks ok to me. except it adds extra strokes to previous answer.
what do you think is wrong with it?
On Wednesday, June 26, 2002, at 04:16 , Nigel Peck wrote:
> For all the CPAN modules I have used so far I have simply uncompressed
> them and used the .pm's as they are. Would someone be kind enough to
> explain to me why I should or shouldn't use the makefile.pl and test.pl
> method of installi
Hi Robert,
Thanks!
This wasn't the clue that solved my problem, but it works now.
I had the third if-statment placed in a different routine uniq(). Never thought of it
to place
it within the while loop. which was necesary (of course !!).
This is how it looks right now :
...
find(\&fil
>
> >I have this situation:
> > $in = "02 Jul 5.00 (YHZ GA-E)"
>
>
> >I want:
> > $out = "YHZGA-E"
>
>
> >How do I extract the information between the ()s ?
> >Other than the parens all other characters are likely to change.
>
> Perhaps
> $in =~ /\((.*?)\)/;
> $out = $1;
>This is a
> -Original Message-
> From: Shishir K. Singh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 11:30 AM
> To: todd shifflett; [EMAIL PROTECTED]
> Subject: RE: extracting a string from between parens
>
>
> >I have this situation:
> > $in = "02 Jul 5.00 (YHZ GA-E)"
>
>
> >
> -Original Message-
> From: Shishir K. Singh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 11:30 AM
> To: todd shifflett; [EMAIL PROTECTED]
> Subject: RE: extracting a string from between parens
>
>
> >I have this situation:
> > $in = "02 Jul 5.00 (YHZ GA-E)"
>
>
> >
It sounds like either use strict or use warnings (-w on the shebang line) is causing
the error. If you add:
$found{$file}{1} = 0;
$found{$file}{2} = 0;
before the two if's, that should suppress the error message (hopefully).
What I think was happening is that one of the strings never m
This may not be the best place to post this as PERL is only part of my
question but here goes:
I need to add several thousand user accounts to a Windows 2000 Server
(Active Directory). The accounts are exisitng accounts on multiple NT
domains. Using PERL scripts coupled with Microsoft's adduse
There is a book by o'reily mastering Perl/TK that is all about making Perl GUI
interfaces. I have done very little with it at this point, but if you pick up the
book it should get you started.
Tom
-Original Message-
From: Leila Lappin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 2
> Does anyone know of an in-line code interpreter like PHP but using Perl
> with the syntax for indicating code. Or, does anyone know how
> to change Apache::ASP to use as Mason or embperl)
>
For Embperl 2, that's easy. Embperl can switch syntax. It comes with an ASP
syntax. The only thing you
Leila --
...and then Leila Lappin said...
%
% Hello all,
Hi!
%
% Please give me some tips and ideas on how to use Perl to create a GUI if that's
possible at all. The GUI I'm looking to create is a simple one but it has to run stand
alone. It will be the front end for invoking another Perl
"Akens, Anthony" <[EMAIL PROTECTED]> writes:
>>This will work...
>
>> /\[.*?\]/
>
> Does exactly what I needed
until you run across one with brackets in the brackets
[ lots of [something here] stuff ]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
Paul Johnson <[EMAIL PROTECTED]> writes:
> The text is still there in the latest release candidate for Perl 5.8.0.
> If anyone feels like saving the world, now would be a very good time to
> do it. In other words, documentation patches are still being accepted.
That would first require one to u
Just a note about FTP access in general, not specific to your problem:
You need to allow TCP "Destination" ports 20 & 21. That would be "going
out", not "coming from". Port 21 is the FTP control port, and port 20 is
the FTP data port. You should plug that incoming FTP hole you created, if
you
Robert Hanson wrote at Wed, 26 Jun 2002 13:51:27 +0200:
> The biggest reason (for me) is that you want the module to test itself. It will
>also inform you
> if you don't have all of the prerequisite modules. Besides that, it's easier than
>copying it once
> you get used to it, and don't forget
>
> #put values into an array
> my @abfrage = $sth->fetchrow_array;
>
> #prepare insert of values from the array in second database
>
> my $sth2 = $dbh->prepare("INSERT INTO board @abfrage");
I think you need to interate through the array and split into the fields of
your table
then you can us
Always use placeholders, this should help...
my @abfrage = $sth->fetchrow_array;
# build placeholders based on num of fields
my $placeholders;
$placeholders .= ($placeholders ? ",?" : "?") for (@abfrage);
my $sth2 = $dbh->prepare("INSERT INTO board $placeholders");
$sth->execute(@abfrage);
The
Hi there, again one (probably simple) question:
I have two databases and want to put the data from one table into the same table in
the other database...
Doing it like follows up gives me the right values, (like i can see from the later
Output) but doesnt write into the second table... Any sugg
On Wed, 26 Jun 2002, Nigel Peck wrote:
> Does anyone know of an in-line code interpreter like PHP but using Perl
> with the syntax for indicating code. Or, does anyone know how
> to change Apache::ASP to use as Mason or embperl)
Template Toolkit will allow you to do this.
You can change the t
Hi Robert,
Looks good, but doens't work :)
The if-statements work fine within the while-loop.
After that you do something I realy don't get and my perl either :)
It start complaining :
Use of uninitialized value in numeric ge (>=) at /user/web/apache/cgi-bin/IPlib/1 line
88, line 471
Any id
Does anyone know of an in-line code interpreter like PHP but using Perl
with the syntax for indicating code. Or, does anyone know how
to change Apache::ASP to use
The biggest reason (for me) is that you want the module to test itself. It
will also inform you if you don't have all of the prerequisite modules.
Besides that, it's easier than copying it once you get used to it, and don't
forget that copying won't autosplit the module if that is what the author
For all the CPAN modules I have used so far I have simply uncompressed
them and used the .pm's as they are. Would someone be kind enough to
explain to me why I should or shouldn't use the makefile.pl and test.pl
method of installing rather than just copying the .pm's to my lib in the
correct direc
Hi Dennis,
I solved this using Javascript.
The following will show you how to open a new window for you :
my $thanks = "http://..";;
print "
";
Maybe not exactly what you want.
But the following will submit your form and then change the location :
#
function T
This is maybe not your only error.
Of course you have to store contents of a directory like :
sub getfiles {
opendir(DIR, $base) or die "can't open $base : $!";
my @files = grep !/^\.\.?$/, readdir(DIR); # Extract the . and .. file
closedir(DIR);
} # End sub getfiles
But if you created the
**
This e-mail message has been scanned by MAILsweeper for known viruses as it left
DHCT/EDMSSA, none were present.
Your attention is drawn to the warning notice at the end of this message.
***
bss96kci wrote at Wed, 26 Jun 2002 08:52:17 +0200:
> Hello!
> (2)
> $path="/data/homewww/../balginst/Bilder";
> open(DIR, ">$path.$fname") or die
> binmode(DIR);
>
> The code writes data in the directory balginst and always writes Bilder and
>Bilder.$fname. When I
> write $path/$fname, I get an
Greetings,
Does anyone know where I can get a ready-made subroutine that will
handle submitting charges to Authorize.Net and a second routine that
will interface (easily!) with OpenSRS?
I would like to write a control panel for my web hosting company, but
the above two items would be needed.
79 matches
Mail list logo