On Monday 05 Oct 2009 07:01:47 Tim Bowden wrote:
On Sun, 2009-10-04 at 15:03 -0700, Slick wrote:
I have a couple of questions.
What is a good starter perl book to learn perl.
Best learning Perl book is 'Learning Perl'. Also known as the Lama
book. There are other good texts also, but
Hello,
I want pro print to screen two strings. The problem ist that the length
of the strings are variable, so I get a unreadable output. Even using \t
does not help because the lenght can vary from 5 to 15 characters.
Is there a simple way to expand the first columnt to a fixex size.
Thanks
$ perl
printf %15s %15s\n, hello, world;
^D
hello world
--
Alexandr A Alexeev
http://web20.su/
Andreas Moroder пишет:
Hello,
I want pro print to screen two strings. The problem ist that the
length of the strings are variable, so I get a unreadable output. Even
using \t
On Mon, 2009-10-05 at 09:20 +0200, Shlomi Fish wrote:
On Monday 05 Oct 2009 07:01:47 Tim Bowden wrote:
On Sun, 2009-10-04 at 15:03 -0700, Slick wrote:
I have a couple of questions.
What is a good starter perl book to learn perl.
Best learning Perl book is 'Learning Perl'. Also
Hi Andreas,
Andreas Moroder wrote:
I want pro print to screen two strings. The problem ist that the length
of the strings are variable, so I get a unreadable output. Even using \t
does not help because the lenght can vary from 5 to 15 characters.
Is there a simple way to expand the first
Алексеев Александр schrieb:
$ perl
printf %15s %15s\n, hello, world;
^D
hello world
--
Alexandr A Alexeev
Hello Alexander,
thanks you for the hint.
%s-15 with the - is what I searched for.
Thanks
Andreas
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For
Shawn H Corey wrote:
Hi,
how have I to write the printstatement to write a URL like
http://www.example.com within the htmltag (a
href=http://www.example.com;Linktext/a) into a textfile.
Regards,
Ruprecht Helms
#!/usr/bin/perl
use strict;
use warnings;
use CGI;
print CGI-a(
Hi,
Ruprecht Helms rhe...@rheynmail.de asked:
actually I have written the following line:
Currently. actually is actually a false friend.
print STATISTIKDATA
CGI-a({href='http://www.b-net-
c.de/adressbuch/$Vorname_$Name_$id.html'},'Link
zum Profil');
You are using the wrong quote marks.
On Sun Oct 04 2009 @ 3:28, Shawn H Corey wrote:
If you're on Linux, type: man ascii
Works on OSX, too. And thanks for the tip. That's handy, and I never knew
it was there.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
On Monday 05 Oct 2009 11:27:23 Raymond Wan wrote:
Hi Andreas,
Andreas Moroder wrote:
I want pro print to screen two strings. The problem ist that the length
of the strings are variable, so I get a unreadable output. Even using \t
does not help because the lenght can vary from 5 to 15
I have about 60 MB of text data I want to include at the bottom of a script.
60 MB is too big for us, but compressed it would be probably only 3-6 MB
which is much better. Is there any way to put gzipped data in the DATA
section of a script, and have the main body of the script conveniently
On Mon, Oct 5, 2009 at 5:02 PM, Bryan R Harris
bryan_r_har...@raytheon.comwrote:
I have about 60 MB of text data I want to include at the bottom of a
script.
60 MB is too big for us, but compressed it would be probably only 3-6 MB
which is much better. Is there any way to put gzipped
I'm trying to install UR-v0.12 - and encountered a great wizard. But I don't
have root access on my machine. I get
You are not allowed to write to the directory '/usr/lib/perl5/site_perl/5.8.8'
even though I'd entered
Your choice: [] PREFIX=~/lib/perl
Can somebody please explain to me
TB == Thomas Bätzler t.baetz...@bringe.com writes:
TB That'll raise the next problem, though: _ is a valid character for
TB a variable name, so the Perl interpreter will try to access the
TB variable $Vorname_ which probably isn't what you wanted. In such a
TB case, use curly braces to
On Mon Oct 05 2009 @ 8:46, Charles Smith wrote:
I'm trying to install UR-v0.12 - and encountered a great wizard. But I don't
have root access on my machine. I get
You are not allowed to write to the directory
'/usr/lib/perl5/site_perl/5.8.8'
even though I'd entered
Your
Uri Guttman wrote:
TB == Thomas Bätzler t.baetz...@bringe.com writes:
TB That'll raise the next problem, though: _ is a valid character for
TB a variable name, so the Perl interpreter will try to access the
TB variable $Vorname_ which probably isn't what you wanted. In such a
TB
Hi,
how have I write the line my $mailprog for sending out an email
produced on another part of the script. In the teachingexample
the path to the sendmailprog (/usr/bin/sendmail) is set as mailprog.
Unfortunately there is no sendmaildaemon in /usr/bin and in /usr/sbin.
Actualy I think only the
Just clarification. At this time I have not written any of my code (dont' know
where to begin yet, however the website that I am looking at perl.begin.org
seems to have diffrent methods for one item. I have seen @ for arrays written
like this: �...@myarray ,but I have also seen an array per
On Mon, Oct 5, 2009 at 16:49, Slick jho251...@yahoo.com wrote:
Just clarification. At this time I have not written any of my code (dont'
know where to begin yet,
snip
Choose a simple project. If you are already familiar with the standard
UNIX utilities, reimplementing them is a good way to
Slick wrote:
Just clarification. At this time I have not written any of my code
(dont' know where to begin yet, however the website that I am looking
at perl.begin.org seems to have diffrent methods for one item. I have
seen @ for arrays written like this: @myarray ,but I have also seen
an
Thanks to all guys. Still trying to learn it. Reading on the website I
mentioned before (because I cannot practice at work) I can, but I would just
be entering it on notepad and not able to test it lol. Just a lot
of inforamtion. I would be glad for any other tips and tricks that you
I was just wondering once I get the hang of this, what things can I
program? What is the pinicale of this? (I do understand that your mind is the
limit, but you get my drift) I want to see something that would be worth
attaining
Jason H. Owens
Hello All,
Can anyone please help with one small error I am getting for line 16( The
one which is bold n italic below.)
The error is : Can't call method str on an undefined value at firstpage.pl
line 16.
#!/usr/bin/perl
# standard settings plus call for CGI package
#use strict;
#use warnings;
On Monday 05 Oct 2009 22:49:47 Slick wrote:
Just clarification. At this time I have not written any of my code (dont'
know where to begin yet, however the website that I am looking at
perl.begin.org seems to have diffrent methods for one item. I have seen
@ for arrays written like this:
Hello,
Can anyone help me to know how to make a script which can take any sequences
by user as user input and give blast results as user output. This should
work in a server.
Any sequences can be any protein sequences in Fasta format. And Blast is a
NCBI Blast main page which will be used and
On Tue, 06 Oct 2009 12:11:47 +1000, Jyoti jcutiep...@gmail.com wrote:
Hello,
Hello Jyoti,
Can anyone help me to know how to make a script which can take any
sequences
by user as user input and give blast results as user output. This should
work in a server.
Any sequences can be any
On Tue, 06 Oct 2009 13:33:27 +1000, Dave Tang d.t...@imb.uq.edu.au wrote:
On Tue, 06 Oct 2009 12:11:47 +1000, Jyoti jcutiep...@gmail.com wrote:
Hello,
Hello Jyoti,
Can anyone help me to know how to make a script which can take any
sequences
by user as user input and give blast results
On Tue, 06 Oct 2009 11:57:53 +1000, Jyoti jcutiep...@gmail.com wrote:
Hello All,
Can anyone please help with one small error I am getting for line 16( The
one which is bold n italic below.)
The error is : Can't call method str on an undefined value at
firstpage.pl
line 16.
Just a warning,
Problem No. 1 -- you commented out 'use strict'.
Problem No. 2 -- you commented out 'use warnings'.
Had then been turned on, they would have told you about your incorrect
Perl syntax. As Dave Tang so correctly pointed out, Perl is NOT
JavaScript.
There is a quote from M. J. Dominus
29 matches
Mail list logo