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 floating
On Tue, 06 Oct 2009 11:57:53 +1000, Jyoti 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, I am also a beginn
On Tue, 06 Oct 2009 13:33:27 +1000, Dave Tang wrote:
On Tue, 06 Oct 2009 12:11:47 +1000, Jyoti 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 se
On Tue, 06 Oct 2009 12:11:47 +1000, Jyoti 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 protein sequences in Fast
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 user
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 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;
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
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
"Exp
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 ar
On Mon, Oct 5, 2009 at 16:49, Slick 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 learn the
language.
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 t
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 d
Uri Guttman wrote:
>> "TB" == Thomas Bätzler 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, us
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
>
> You
> "TB" == Thomas Bätzler 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 delimit the
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
On Mon, Oct 5, 2009 at 5:02 PM, Bryan R Harris
wrote:
>
>
>
> 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
> sect
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 re
Oracle does not have a LIMIT clause ... the best that can be done is to use
row_num but that can get 'funky'. Basically you are saying that I get a subset
(a block) of data at a time and then repeat the process until all rows are
retrieved. Is that correct? Do have an Oracle example of using
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 t
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
http:
Hi,
Ruprecht Helms 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. Use double
Shawn H Corey wrote:
Hi,
>>
>> how have I to write the printstatement to write a URL like
>> http://www.example.com within the htmltag (> href="http://www.example.com";>Linktext) into a textfile.
>>
>> Regards,
>> Ruprecht Helms
>>
>
> #!/usr/bin/perl
>
> use strict;
> use warnings;
>
> use CGI
Алексеев Александр 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
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 col
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
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
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
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 a
30 matches
Mail list logo