hey gang,
I know this is unrelated, but does anyone know of a good Tk tutorial, or
book ??
Thanx,
Mark
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just as a little background, I am working on a BioInformatics program that
runs on large (about 300 meg) text files. I am using a filehandle to open
and load it into an array. Then I use the join command to read the array
into a scalar variable in order to be in a workable form for my
computation
Hi there Wiggins,
Thank you for your advice, I have heard of Cygwin and tried to visit their
site but it says it can't find the domain. Will try later. I have also heard
of ActiveState. I am wanting to develop pure CGI programs with Perl (when i
finally learn it), is this setup still good for this
Hi Nelson
Nelson Ray wrote:
> Just as a little background, I am working on a BioInformatics program
> that runs on large (about 300 meg) text files. I am using a
> filehandle to open and load it into an array. Then I use the join
> command to read the array into a scalar variable in order to be
can somebody send me RFC numbers of POP3 & SMTP
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: "LRMK" <[EMAIL PROTECTED]>
> can somebody send me RFC numbers of POP3 & SMTP
http://www.faqs.org/rfcs/
SMTP = 2821
POP3 = 1939
MIME = 2045-2049
Jenda
P.S.: I't possible that one of those is already obsoleted by a higher
number. You'll find that info on that site.
Jenda
=
From: "Beau E. Cox" <[EMAIL PROTECTED]>
> I am developing a perl 5.8 application using the
> new threading model. I use this technique
> (thanks Jenda!) to dup STDIN to a temp file handle:
> ...
> open SAVIN, '<&STDIN';
> open (STDIN,'<&' . $tmpfh->fileno) or die "...";
>
Hello,
When you write
$calc=3+5-2;
print $calc."\n";
you get 6. (number, not the string "3+5-2")
When you write
while () {
$calc=$_;
print $calc."\n";
last;
}
if you run that last one and type 3+5-2, you get 3+5-2.(string "3+5-2", not the number
6)
Why is it so? And how can I get it to
Aye. I once made a simple program, just for calculating + and *. I had no
problem with that. Which means somethin' like:
#!usr/bin/perl
print "Enter a number.";
$number = ;
# *ing by 2 (can't get to the right word)
$result = $number * 2;
print "Aye, the result is" . $result;
Which you could do
On Sun, Jan 19, 2003 at 06:44:31PM +0100, Jacques Lederer wrote:
> Hello,
>
> When you write
>
> $calc=3+5-2;
> print $calc."\n";
>
> you get 6. (number, not the string "3+5-2")
>
> When you write
>
> while () {
> $calc=$_;
> print $calc."\n";
> last;
> }
>
> if you run that last one a
From: Paul Johnson <[EMAIL PROTECTED]>
> On Sun, Jan 19, 2003 at 06:44:31PM +0100, Jacques Lederer wrote:
> > When you write
> >
> > $calc=3+5-2;
> > print $calc."\n";
> >
> > you get 6. (number, not the string "3+5-2")
> >
> > When you write
> >
> > while () {
> > $calc=$_;
> > print $calc
"Is a CSV a comma delimited list. If so when creating a CSV how does one cope with
fields that have commas in them.[?]"
Hi Colin,
Sorry for the late response. I forgot the solution I had come up with earlier. I
used in a project that I tabled while I was working on another one. Try(on the
lo
- Original Message -
From: "Jacques Lederer" <[EMAIL PROTECTED]>
To: "Paul Johnson" <[EMAIL PROTECTED]>
Sent: Sunday, January 19, 2003 8:32 PM
Subject: Re: pid
> OK. Thanks very much, the eval thing does work.
> I have another one now, on another subject. On a linux box, I am trying to
>
You have to compile the input. Try using eval.
It should look something like:
while () {
$calc= eval $_;
print $calc."\n";
last;
}
But, don't forget to catch errors.
Sasha
> -Original Message-
> From: Jacques Lederer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 19, 2
"...if you run that last one and type 3+5-2, you get 3+5-2.(string "3+5-2", not the
number 6)" --Jacques
Hi Jacques,
Well, this is about data types. Unfortunately, Perl tends to haze up the issue by
doing away with explicit types and doing everything implicitly. In a programming, as
opposed
And how can I get it to calculate the thing?
print eval($calc) ."\n";
Hi Jacques,
Sorry. In my previous post, I answered your first question, but offered no solution.
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Nelson Ray wrote:
>
> Just as a little background, I am working on a BioInformatics program that
> runs on large (about 300 meg) text files. I am using a filehandle to open
> and load it into an array. Then I use the join command to read the array
> into a scalar variable in order to be in a wor
Rob Dixon wrote:
>
> Nelson Ray wrote:
> > Just as a little background, I am working on a BioInformatics program
> > that runs on large (about 300 meg) text files. I am using a
> > filehandle to open and load it into an array. Then I use the join
> > command to read the array into a scalar varia
A slightly corrected version of my _CSV with commas in the fields_ solution:
sub DataPrint {
my($Handle, $key, $hashref) = @_;
my $Data = $$hashref{$key};
$Data =~ (s/,/%2C/g);
print $Handle "$Data,";
}
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
John W. Krahn wrote:
> Rob Dixon wrote:
>>
>> Nelson Ray wrote:
>>> Just as a little background, I am working on a BioInformatics
>>> program that runs on large (about 300 meg) text files. I am using a
>>> filehandle to open and load it into an array. Then I use the join
>>> command to read the a
Ok, found out why I am getting this error...
Premature end of script headers
What does that mean??
Anyone?
This file works on my computer but when I upload it to a unix system and
try it from the internet it gives me a 500 error. Can anyone tell me what
the problem is?? Still new at perl.
Hi,
I have a bookmark-file from opera6.11 that contains a lot of duplicate
entries.
I would like to be able to remove all duplicate entries without
destroying the structure of the file.
I have tried this with a set of scripts that converted the file into a
format that could be sent through 'uniq
Mertens Bram wrote:
> Hi,
>
> I have a bookmark-file from opera6.11 that contains a lot of duplicate
> entries.
>
> I would like to be able to remove all duplicate entries without
> destroying the structure of the file.
>
> I have tried this with a set of scripts that converted the file into a
>
Mertens Bram wrote:
> Hi,
>
> I have a bookmark-file from opera6.11 that contains a lot of duplicate
> entries.
>
> I would like to be able to remove all duplicate entries without
> destroying the structure of the file.
This is something that you could do to any level of complexity. First of
all,
Hi,
this is my first post, so go ahead, call me a newbie.
How do I count the number of words in a line? I need to convert some
astronomy data which has floats, integers and commas in the string and
massage this data into something more palatable to the application.
Cheerio,
Steve
Scotty, I nee
Steven Jackson wrote:
> Hi,
>
> this is my first post, so go ahead, call me a newbie.
>
> How do I count the number of words in a line? I need to convert some
> astronomy data which has floats, integers and commas in the string and
> massage this data into something more palatable to the applica
Hey Steven,
My MUA believes you used MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03)
to write the following on Sunday, January 19, 2003 at 7:24:01 PM.
SJ> How do I count the number of words in a line? I need to convert
SJ> some astronomy data which has floats, integers and commas i
> -Original Message-
> From: Steven Jackson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 20, 2003 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: Counting words in a line?
>
>
> Hi,
>
> this is my first post, so go ahead, call me a newbie.
>
> How do I count the number of words in a
Hi,
Can anybody tell me how to use perl components in perl.
Pankaj.
> -Original Message-
> From: Pankaj Kapare [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 19, 2003 2:00 AM
> To: [EMAIL PROTECTED]
> Subject: How to use ATL COM components in perl
>
>
> Hi,
>Can anybody tell me how to use perl components in perl.
> Pankaj.
>
See the following
> -Original Message-
> From: Toby Stuart [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 20, 2003 3:26 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: How to use ATL COM components in perl
>
>
>
>
> > -Original Message-
> > From: Pankaj Kapare [mailto:[EMAIL PROTECTED]]
> > Sen
Try this:
perldoc -q 'My CGI script runs from the command line but not the browser'
Which is found here:
perldoc perlfaq9
http://danconia.org
[EMAIL PROTECTED] wrote:
Ok, found out why I am getting this error...
Premature end of script headers
What does that mean??
Anyone?
This file w
Hi,
I am building perl for use with mod_perl on a chroot httpd. It needs to not be
linked to any system library's, but I'm missing something in the config becouse it is
still linking to /usr/lib/libc.so.28.5 .
I'm not sure where in the configure script to tell it not to do this.
I got
33 matches
Mail list logo