As I said, I don't know.
- Original Message -
From: Andrew Gaffney [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 8:55 PM
Subject: Re: hit counter
Wouldn't these have the same effect?
Octavian Rasnita wrote:
I don't know, but this is not the right way.
What does this line mean?
use CGI qw(:cgi-lib :standard);
I know that use CGI; means to use CGI module but what does qw(:cgi-lib
:standard) that follow use CGI mean?
Thanks,
YBS
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Colin Johnstone wrote:
Gidday All,
We are running AIX on an IBM HTTP server with IHS.
We are serving static HTML pages. Some of these pages are to
be protected.
OK. That's the job of the web server, so you need to configure it to protect
those pages. With Apache, you use .htaccess files
Yehezkiel B Syamsuhadi [EMAIL PROTECTED] asked:
What does this line mean?
use CGI qw(:cgi-lib :standard);
The qw operator makes a text into a list by splitting at
the whitespace.
That list is passed to the module as an argument. In
CGI.pm's case these arguments are used to specify what
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email
Hi everybody!
I got the mistakes - no bugs but simple human errors ;-)
My program wasn't working correctly, because two hashes wasn't filled
properly and the reason for the miraculous different output of the
values of that hash was a simple typo - I typed once hash_fasta1 and
the second time
No panic anymore. I was given a wrong database schema. Everything works
fine now.
Ant.
Dan Anderson wrote:
I'm struggling with the DBI too, one of the things that my book says is
that you can create config files the DBI will use. Is it possible that
you have an Oracle config file (perhaps
Nope - 'cause if I print out the values key for key, I get all four:
my $array = keys %hash;
print $hash{$array[0]};
print\n;
print $hash{$array[1]};
print\n;
print $hash{$array[2]};
print\n;
print $hash{$array[3]};
With the code
foreach (keys %hash) {
print $hash{$_};
print \n;}
jepp - all four are there..
I really don't understand it.
thx so far - I have to finish for today - my little baby-son is crying :-(
Jane
...
As near as I can tell, the above two chunks of code have identical
effects. If you put the first chunk in the program EXACTLY where the
foreach() loop
oh nice - like that I get all keys and the corresponding values printed..
But I only wanted to get all values :-)
Jane
Andrew Gaffney wrote:
James Edward Gray II wrote:
On Nov 11, 2003, at 1:47 PM, Christiane Nerz wrote:
Hi!
If I want to print out every value of a hash, what's wrong with doing
David,
I tried this out. Still no luck. Then I tried a small vairation of your
code:
my ( $Host, $Port ) = @_;
my $url = $Host;
$url .= :$vesPort if ( $vesPort $vesPort != 80 );
This works Apparently LWP does not like it when the default port is
specified in the GET requests in
Good morning!
Thx for your help..
The problem seems to lay in filling the hash.
But I can't see why.
I want to compare two fasta-files, more precisely the IDs of two sets
of sequences.
Each file looks like:
gi|13699918|dbj|BAB41217.1|.
Ramprasad A Padmanabhan wrote:
On Tue, 2003-11-11 at 19:59, James Edward Gray II wrote:
On Nov 11, 2003, at 8:23 AM, Ramprasad A Padmanabhan wrote:
Thanks for the info
Is there an utility which can do this
I am not bothered if it is a very heavy code , I am not going to
I have to parse a big file and I do it line by line to keep stuff going
correctly. I am at a point where I need it to go through and replace every
with inches and ' with feet, IF item in front of it is a digit (0-9).
I have this written in the script to parse it:
while ($line =
LoneWolf wrote:
I have to parse a big file and I do it line by line to keep stuff going
correctly. I am at a point where I need it to go through and replace every
with inches and ' with feet, IF item in front of it is a digit (0-9).
I have this written in the script to parse it:
while
LoneWolf wrote:
I have to parse a big file and I do it line by line to keep stuff
going correctly. I am at a point where I need it to go through and
replace every with inches and ' with feet, IF item in front of it
is a
digit (0-9).
You can use:
s/(\d)/$1 inches/g
or
s/(?=\d)/
Hi,
I´m new with perl. I need to write a program that reads data out of a form
sent via internet and is able to interpret the data.
I have written the form in html. Is perl right for the other parts? How can
I do this easyly? Are there any pre-witten programs or modules existing for
that?
Thanks
i'd like to say first that i'm using activePerl ,
under windows.
for O'Reilly, i couldn't subscribe or even have the 14
days trial because i don't have a credit card.. :(
I have a question, because really i couldn't help
myself...
You're probably either going to need to pick up a book on
Hi,
Howdy
I´m new with perl. I need to write a program that reads data
out of a form sent via internet and is able to interpret the
data. I have written the form in html. Is perl right for the
other parts? How can I do this easyly? Are there any
You bet! You could also use the same
On Nov 12, Rob Dixon said:
[EMAIL PROTECTED] wrote:
I have this written in the script to parse it:
while ($line = OLDFILE) {
# $line = $line =~ /^\s*(.*)\s*\n$/;
$line =~ s/^ //;
$line =~ s/ $//;
$line =~ s/\t/|/g;
$line =~ s/\s+/ /mg;
$line =~ s/^\s*//mg;
$line
Whoops, sorry. Name's Robert
The problem even with doing redundent things is that the dedundency's didn't
clean up the extra white spaces in each line.
I glob in the whole file, bad, I know, but it's what I know and what works,
it also gives no overhead on the server and the script takes less
I saw a book on Perl 6 but I didn't think it was out yet. When is it
coming out, and will it support code from 5.0+?
Thanks,
Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I´m new with perl. I need to write a program that reads data out of a form
sent via internet and is able to interpret the data.
I have written the form in html. Is perl right for the other parts? How can
I do this easyly? Are there any pre-witten programs or modules existing for
that?
Oh here we go.
-Original Message-
From: Dillon, John [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 10:57 AM
To: 'Matthias Schraft'
Cc: '[EMAIL PROTECTED]'
Subject: RE: question
I´m new with perl. I need to write a program that reads data out
of a form
sent via
When is it coming out
The usual answer is when it is done.
It is far from completion, but a lot of progress has been made. My guess is
beta in a year... but nobody really knows, and there is no schedule for it.
The goal is to do it right, even if it means a very long development cycle.
and
I saw a book on Perl 6 but I didn't think it was out yet. When is it
coming out, and will it support code from 5.0+?
The standard OSS answer probably applies here, it will be out, when its
out...
I assume you probably saw O'Reilly's Perl 6 Essentials?
It is far from completion, but a lot of progress has been made. My guess is
beta in a year... but nobody really knows, and there is no schedule for it.
The goal is to do it right, even if it means a very long development cycle.
That doesn't make me think very highly of O'Reilly if they
Jeff 'Japhy' Pinyan wrote:
On Nov 12, Rob Dixon said:
[EMAIL PROTECTED] wrote:
I have this written in the script to parse it:
while ($line = OLDFILE) {
# $line = $line =~ /^\s*(.*)\s*\n$/;
$line =~ s/^ //;
$line =~ s/ $//;
$line =~ s/\t/|/g;
$line =~
Dan Anderson wrote:
Perl code takes the form of a text file. If you're under windows you'll
name your perl files with the .pm extension.
Hi Dan.
Perl programs conventionally go in *.pl files. Perl modules
are in *.pm.
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I´m new with perl. I need to write a program that reads data
out of a
form sent via internet and is able to interpret the data. I have
written the form in html. Is perl right for the other parts?
How can I
do this easyly? Are there any pre-witten programs or modules
existing
for
On Wed, 12 Nov 2003 15:56:39 +, Dillon, John wrote:
I´m new with perl. I need to write a program that reads data out of a
form
sent via internet and is able to interpret the data. I have written the
form in html. Is perl right for the other parts? How can I do this
easyly? Are there any
Hi Robert.
Robert wrote:
The problem even with doing redundent things is that the dedundency's didn't
clean up the extra white spaces in each line.
I glob in the whole file, bad, I know, but it's what I know and what works,
it also gives no overhead on the server and the script takes less
Original question was:
I´m new with perl. I need to write a program that reads data out of a form
sent via internet and is able to interpret the data.
I have written the form in html.
It's partly bcs it's written in English. I know that sounds like Visual
Basic. But the queryist is a
Original question was:
I´m new with perl. I need to write a program that reads data
out of a
form sent via internet and is able to interpret the data. I have
written the form in html.
It's partly bcs it's written in English. I know that sounds
like Visual Basic. But the queryist
On Wednesday, Nov 12, 2003, at 02:15 US/Pacific, Christiane Nerz wrote:
Hi everybody!
I got the mistakes - no bugs but simple human errors ;-)
My program wasn't working correctly, because two hashes wasn't filled
properly and the reason for the miraculous different output of the
values of that
Yea, well it's really HTML that's the problem. The question was whether
perl was appropriate, not how to do it in perl. But, usefully, if there is
anything in the perl documentation that is quite as easy and
cross-referenced as the search box on www.php.net then I would like to find
it.
Hello: I am trying to create and access a
multidimensional hash.
For example the following works
==
$route {$routeDest} = $cost ;
print $routeDest, Cost: $route{$routeDest}\n
=
But the following does not print the
$route{$NODE}{$routeDest}
==
$route {$NODE}{$routeDest} = $cost;
On Nov 12, 2003, at 11:52 AM, Ravi Malghan wrote:
Hello: I am trying to create and access a
multidimensional hash.
For example the following works
==
$route {$routeDest} = $cost ;
print $routeDest, Cost: $route{$routeDest}\n
=
But the following does not print the
$route{$NODE}{$routeDest}
Why not use:
$route{$NODE} = {$routeDest = $cost};
Also, check out the perl reference tutorial:
http://www.perldoc.com/perl5.8.0/pod/perlreftut.html
-Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Update not happening !
I have a script that is running on computer A which is trying to update
the database on computer B.
The script tries to connect to computer B and fails with the following
error.
[EMAIL PROTECTED] mysql]$ ./data_loader.pl
DBI
Le mer 12/11/2003 à 19:48, Larry Sandwick a écrit :
[EMAIL PROTECTED] mysql]$ ./data_loader.pl
DBI connect('webmaster,blackhole','webmaster',...) failed: Access denied
for user: '[EMAIL PROTECTED]' (Using password: YES) at
./data_loader.pl line 8
Does the comma standing between webmaster
Hi all,
I'm new to perl (that's why I'm here :-). I'm building a few cgis allowing
me to add, modify, delete users in a text file (perl version 5.8.0 on a
redhat 8 machine).
So far, I've been able to create the form and the perl scripts to add
users and verify their existence.
I'm now trying
Le mer 12/11/2003 à 19:48, Larry Sandwick a écrit :
[EMAIL PROTECTED] mysql]$ ./data_loader.pl
DBI connect('webmaster,blackhole','webmaster',...) failed: Access denied
for user: '[EMAIL PROTECTED]' (Using password: YES) at
./data_loader.pl line 8
Try with a semi-column instead of the
Le mer 12/11/2003 à 19:48, Larry Sandwick a écrit :
[EMAIL PROTECTED] mysql]$ ./data_loader.pl
DBI connect('webmaster,blackhole','webmaster',...) failed: Access
denied for user: '[EMAIL PROTECTED]' (Using password: YES) at
./data_loader.pl line 8
Does the comma standing between
DBI connect('webmaster,blackhole','webmaster',...) failed: Access
denied for user: '[EMAIL PROTECTED]' (Using password: YES) at
./data_loader.pl line 8
Try with a semi-column instead of the comma:
$dsn = DBI:mysql:database=webmaster;host=blackhole;
While you're at it try:
Hi all,
Howdy
I'm now trying to delete one user/record inside my text file.
You will find below the script I wrote. Actually the
temporary file is created the way it should be but I didn't
succeed in renaming it to users.dat, saying no such file or
directory.
This should be not
[ Please do not top-post. TIA ]
Christiane Nerz wrote:
Nope - 'cause if I print out the values key for key, I get all four:
my $array = keys %hash;
$array is a scalar and holds a single value. It is not related to
@array in any way.
print $hash{$array[0]};
print\n;
print
perldoc
What he means is http://www.perldoc.com/ or something else, like something on c: or a
terminal window.
This is good. I've learnt something...like when perl people say something, stick it
in google and see
what comes up.
Let's see how the search for (web) solutions compares between
I think what you're looking for is this, from perldoc -f pop:
pop ARRAY
pop Pops and returns the last value of the array, shortening the
array by one element. Has an effect similar to
$ARRAY[$#ARRAY--]
If there are no elements in the array,
perldoc
What he means is http://www.perldoc.com/ or something else,
like something on c: or a terminal window.
This is good. I've learnt something...like when perl people
say something, stick it in google and see what comes up.
And you asked me to turn my irritation off?
Why must you
To others who have posted on this thread, I had so
much trouble working out who was saying what to whom
that I gave up. Why are all of the posts at the top
level instead of beneath the items that they corresponded
to?
I am left feeling that there is something that I could have
learned beneath
On Nov 12, 2003, at 2:44 PM, John Dillon wrote:
perldoc
What's the whole point of this thread? That if you look up language
keywords (array) and functions by name (array_pop) that you get more
relevant information from the language that uses those exact keywords?
PHP has wider web deployment
On Wed, 12 Nov 2003 13:48:26 -0500, Larry Sandwick wrote:
#! /usr/bin/perl
Always:
use strict;
use warnings;
use DBD::mysql;
No need to. DBI will take care of this (when you declary the database
type to be 'mysql').
$dsn = DBI:mysql:webmaster,blackhole;
my $dsn =
G Lams wrote:
I'm new to perl (that's why I'm here :-). I'm building a few cgis allowing
me to add, modify, delete users in a text file (perl version 5.8.0 on a
redhat 8 machine).
So far, I've been able to create the form and the perl scripts to add
users and verify their existence.
I'm now
Just because a function is named foo in PHP doesn't mean it's named foo
in perl.
As a matter of fact Perl has:
pop -- returns the top of an array and deletes it -- like
array_pop
push -- puts something into an array
shift -- returns the bottom of the array
On Nov 12, 2003, at 3:53 PM, Dan Anderson wrote:
It's actually kind of interesting. If you look at what PHP is trying
to
do with PHP 5 it is basically trying to copy a lot of Perl's object
oriented system.
That's really far from the truth. You could accuse it of trying to
copy Java's oo model
$dsn = DBI:mysql:webmaster,blackhole;
This comma still throws me.
Try
DBI:mysql:webmaster:blackhole
Also if you do this from the command line what happens after
you put in the password you have in your script?
$ mysql -u yourusernamehere -p -h blackhole webmaster
What Tore said is true!
On Wed, 2003-11-12 at 15:57, George Schlossnagle wrote:
On Nov 12, 2003, at 3:53 PM, Dan Anderson wrote:
It's actually kind of interesting. If you look at what PHP is trying
to
do with PHP 5 it is basically trying to copy a lot of Perl's object
oriented system.
That's really far
On Nov 12, 2003, at 4:02 PM, Dan Anderson wrote:
On Wed, 2003-11-12 at 15:57, George Schlossnagle wrote:
On Nov 12, 2003, at 3:53 PM, Dan Anderson wrote:
It's actually kind of interesting. If you look at what PHP is trying
to
do with PHP 5 it is basically trying to copy a lot of Perl's object
NAME
beginners-faq - FAQ for the beginners mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email address):
I recently changed the email address i use for this list and posted a question,
i have never use this email address before and now i receiving regular spam to
this address
Is it Just me or has every one started to receive a lot of spam on address
used for this
It was Wednesday, November 12, 2003 when [EMAIL PROTECTED] took the soap box, saying:
: I recently changed the email address i use for this list and posted a
: question, i have never use this email address before and now i
: receiving regular spam to this address Is it Just me or has every one
:
I recently changed the email address i use for this
list and posted a question,
i have never use this email address before and now i
receiving regular spam to this address
Is it Just me or has every one started to receive a lot
of spam on address used for this list?
A
Your complete laziness in researching the answers to any of the
questions you pose says much more about your apparent work ethic than
it does about Perl's documentation. All of those questions can be
easily answered with
a) a bit of research on the web
or
b) a quick look in the Perl
It was Wednesday, November 12, 2003 when John Dillon took the soap box, saying:
: Your complete laziness in researching the answers to any of the
: questions you pose says much more about your apparent work ethic than
: it does about Perl's documentation. All of those questions can be
:
On Nov 12, 2003, at 5:30 PM, John Dillon wrote:
Of 24 hours, 7.5 sleeping (thinking) (=16.5), 1.5 travelling
(sleeping) )=(15), 7.5 working (less 1.5
hours at the coffee machine) (=7.5), 7.5 hours at work (not perl),
that leaves -10 minutes to crap
and -2 hours a day to research perl.
If you're
I know I've been as guilty of prolonging these threads as anyone in the
past, but can we just cut this one short, or at least stop copying the
list? This is starting to happen a little too much.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It was Wednesday, November 12, 2003 when [EMAIL PROTECTED] took the soap box, saying:
: hum could we not get a nice topic prefix added to the list?
: it would make it a lot easy to make mail filters that could kill all mail
: going to this address, not from the list.?
No, we won't be doing that.
I am using the following code and keep getting a message that says
Can't use an undefined value as a hash reference. I'm completely lost
trying to debug it because the line in question is a }. I was wondering
if any guru could spot some newbie idiocy in my code. I am, of course,
using strict
I am using the following code and keep getting a message that
says Can't use an undefined value as a hash reference. I'm
completely lost trying to debug it because the line in
question is a }. I was wondering if any guru could spot some
There are many references , what line number does
On Wed, 12 Nov 2003 19:44:02 +, John Dillon wrote:
whereas php started as a HTML manipulation language and is good for
database interaction, for which arrays are important.
In which way are arrays _important_ for database interaction? The
important things when dealing with databases is to
On Wed, 2003-11-12 at 18:30, Dan Muey wrote:
I am using the following code and keep getting a message that
says Can't use an undefined value as a hash reference. I'm
completely lost trying to debug it because the line in
question is a }. I was wondering if any guru could spot some
I am trying to get the width and height attributes of jpg's and gif's
on a remote server.
I have found Image::Size and LWP but am unable to put them together so
that I can open an http path (e.g.
http://wwwfoobar.com/dirname/dirname/dirname/images/111203.gif) and
print out the image size. Any help
On Nov 12, Dan Anderson said:
while (my %hash = %{ shift (@columns) }) {
...
}
Here is the problem. When @columns is empty, it returns undef, and you
can't do %{ +undef }. So, do this:
while (my $href = shift @columns) {
# then use $href-{...}
# or do:
I'm sure this is easy but I'm a newbie. I was doing control statements (for,
while,etc.) like this:
for ($count = 1; $count = 5; $count++) {
print $count\n;
}
What I wanted to do was to make each number appear in sequence like you see
in a countdown (or
Try using the \b character to erase your output.
-Original Message-
From: Trent Rigsbee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 5:06 PM
To: [EMAIL PROTECTED]
Subject: Counting (easy!)
I'm sure this is easy but I'm a newbie. I was doing control statements
(for,
Hey Group
I am new to hashes, so please be kind : )
I am trying to create a hash of hash's with the following characteristics:
1. The outer hash has a unique key called $ELEMENT
2. The value of the outer hash is a key to the innner hash called $DATE
3. The value of the inner hash is a value
Trent Rigsbee wrote:
I'm sure this is easy but I'm a newbie. I was doing control statements
(for, while,etc.) like this:
for ($count = 1; $count = 5; $count++) {
print $count\n;
}
What I wanted to do was to make each number appear in sequence
On Wednesday, Nov 12, 2003, at 15:25 US/Pacific, Casey West wrote:
It was Wednesday, November 12, 2003 when [EMAIL PROTECTED] took the soap
box, saying:
: hum could we not get a nice topic prefix added to the list?
: it would make it a lot easy to make mail filters that could kill all
mail
:
I think I figured it out! A FIRST!!
for ($i = 1; $i = 5; $i++){
sleep 1;
print $i\n;
}
I prints out like this: 1...2...3...4...5
YES!!
Thanks everyone! :-)
From: Trent Rigsbee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Counting (easy!)
Date: Thu, 13 Nov 2003 01:05:37
There are many ways to go about it, but here is one way:
#to enter the info:
my %errHash; #the initial hash
$errHash{Jason} = []; #each hash element is an array
#each element of the array is a hash
push @{$errHash{Jason}},{date = Jun1, 2003,error = No Data};
#to
I'm still a newbie @ references and data structures myself, but I've
found the following web pages useful:
http://www.perldoc.com/perl5.8.0/pod/perlreftut.html
http://www.perldoc.com/perl5.8.0/pod/perldsc.html
http://www.perldoc.com/perl5.8.0/pod/perllol.html
And, as always, by recursively
Wouldn't that print out
1
2
3
4
5
?
-Original Message-
From: Trent Rigsbee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 6:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Counting (easy!) (YES!!)
I think I figured it out! A FIRST!!
for ($i = 1; $i = 5; $i++){
sleep
At 02:00 13/11/2003, you wrote:
On Wednesday, Nov 12, 2003, at 15:25 US/Pacific, Casey West wrote:
It was Wednesday, November 12, 2003 when [EMAIL PROTECTED] took the soap box, saying:
: hum could we not get a nice topic prefix added to the list?
: it would make it a lot easy to make mail
Trent Rigsbee [EMAIL PROTECTED] wrote:
:
: I think I figured it out! A FIRST!!
:
: for ($i = 1; $i = 5; $i++){
: sleep 1;
: print $i\n;
: }
As you move into larger programs and scripts it
is a good idea to always use strict and warnings.
use strict;
use warnings;
After
On Wed, 2003-11-12 at 20:05, Trent Rigsbee wrote:
I'm sure this is easy but I'm a newbie. I was doing control statements (for,
while,etc.) like this:
for ($count = 1; $count = 5; $count++) {
print $count\n;
}
What I wanted to do was to make each
On Wednesday, Nov 12, 2003, at 18:07 US/Pacific, david wrote:
[..]
like count down from 5 to 1 slowly in a single row? try:
[panda]# perl -e '$|=1; print @{[6-$_]}\r and sleep(1) for(1..5)'
david
Minor Nit, that \r will not actually go out
54321
rather pleasantly returns the cursor to the
On Thu, 13 Nov 2003 01:05:37 +, Trent Rigsbee wrote:
for ($count = 1; $count = 5; $count++) {
print $count\n;
}
This is very C'ish. In Perl we tend to:
for ( 1..5 ) {
print $_ . \n;
# sleep( 1 );
}
Uncomment the sleep() thing if you want Perl to sleep for 1 second
On Wed, 12 Nov 2003 18:29:01 -0500, Dan Anderson wrote:
I'm completely lost trying to debug it because the line in question is a
}.
Well. I'm totally lost, too. There's a lot of things in the code which
you can improve to make it more fail-safe, but for now: What line are you
referring to?
Jason Normandin wrote:
Hey Group
Hello,
I am new to hashes, so please be kind : )
I am trying to create a hash of hash's with the following characteristics:
1. The outer hash has a unique key called $ELEMENT
2. The value of the outer hash is a key to the innner hash called $DATE
3.
Dan == Dan Anderson [EMAIL PROTECTED] writes:
Dan That doesn't make me think very highly of O'Reilly if they /already/
Dan have a copy of a book on Perl 6 in stores.
Quite the contrary, I'll suggest. The people who wrote the Perl 6
book are deeply involved in the core of creating Perl 6. It's
Rob == Rob Dixon [EMAIL PROTECTED] writes:
Rob Perl programs conventionally go in *.pl files.
No. Only on broken architectures that demand it (read: windows).
On Unix, Perl programs have no extension, any more than cat has an
extension. Why should the user care what the implementation
Hi ALL,
I have GDGraph installed and is working well on a RH 7.3 box.
Now what I need to do is write some perl code to read in some data from a file that
gets stored in arrays like this is hardwired.
$data = ([
O'Reilly is very smart for getting a Perl6 book by key people out there.
Nothing to be negative about it.
My apologies then. I thought it might be the *final* book -- i.e. half
bake -- like all too many computer books which come out based on alpha
and beta versions.
-Dan
--
To unsubscribe,
Trent Rigsbee wrote:
I'm sure this is easy but I'm a newbie. I was doing control statements (for,
while,etc.) like this:
for ($count = 1; $count = 5; $count++) {
print $count\n;
}
In Perl that is usually written as:
for $count ( 1 .. 5 ) {
Christiane Nerz wrote:
Good morning!
Hello,
Thx for your help..
The problem seems to lay in filling the hash.
But I can't see why.
I want to compare two fasta-files, more precisely the IDs of two sets
of sequences.
I take it that the ID is everything between ' ' and \n?
Each
Christiane Nerz wrote:
Andrew Gaffney wrote:
James Edward Gray II wrote:
What you probably want is:
foreach (keys %hash) {
print $_ = $hash{$_}\n;
}
oh nice - like that I get all keys and the corresponding values printed..
But I only wanted to get all values :-)
Jane
Maybe
97 matches
Mail list logo