Re: hello from a newbie

2013-10-27 Thread Dr.Ruud
On 2013-10-27 04:00, Mayuresh Kathe wrote: #!/usr/bin/perl -w use strict; use warnings; my $exponent = $ARGV[0]; my $number = 2; my $result = $number; if ( not defined $exponent ) { die Usage: $0 exponent\n; } You have a die() there, so no indent needed. Alternative: #

Re: hello from a newbie

2013-10-27 Thread Mayuresh Kathe
On Sun, Oct 27, 2013 at 03:27:49PM +0100, Dr.Ruud wrote: On 2013-10-27 04:00, Mayuresh Kathe wrote: #!/usr/bin/perl -w use strict; use warnings; my $exponent = $ARGV[0]; my $number = 2; my $result = $number; if ( not defined $exponent ) { die Usage: $0 exponent\n; }

hello from a newbie

2013-10-26 Thread Mayuresh Kathe
hi, this is my first mail to this list, and the first time i'll be working with perl. i've been searching for books on learning and mastering perl and found the series by o'reilly to be quite well recommended. would i be right in my assumption about the o'reilly books being good? if not, are

Re: hello from a newbie

2013-10-26 Thread Shlomi Fish
Hi Mayuresh, On Sat, 26 Oct 2013 16:06:56 +0530 Mayuresh Kathe mayur...@kathe.in wrote: hi, this is my first mail to this list, and the first time i'll be working with perl. i've been searching for books on learning and mastering perl and found the series by o'reilly to be quite well

Re: hello from a newbie

2013-10-26 Thread Mayuresh Kathe
On Sat, Oct 26, 2013 at 02:04:15PM +0300, Shlomi Fish wrote: Hi Mayuresh, On Sat, 26 Oct 2013 16:06:56 +0530 Mayuresh Kathe mayur...@kathe.in wrote: hi, this is my first mail to this list, and the first time i'll be working with perl. i've been searching for books on learning and

Re: hello from a newbie

2013-10-26 Thread Bob goolsby
Learning Perl, Schwartz, Phoenix, defoy, and others, (AKA The Llama Book) is the best introductory book on Perl. The book is entertaining, enlightening, and in it's sixth edition -- it's that good. Perl will change how you look at Computer languages. There are two mottoes in the Perl World:

Re: hello from a newbie

2013-10-26 Thread htchd7ji
How about python? Many people consider it's better than Perl and it becomes more and more popular. On Oct 26, 2013, at 7:23 AM, Bob goolsby bob.gool...@gmail.com wrote: Learning Perl, Schwartz, Phoenix, defoy, and others, (AKA The Llama Book) is the best introductory book on Perl. The

Re: hello from a newbie

2013-10-26 Thread Mayuresh Kathe
I have watched Python programmers pull their hair out trying to bring the performace upto acceptable limits and resource usage under control. As soon as their programs increase in complexity, the problems with Python start becoming evident. So, thanks, but, no thanks, I'd rather go with Perl

Re: hello from a newbie

2013-10-26 Thread Shawn H Corey
On Sat, 26 Oct 2013 07:28:09 -0400 htchd...@live.com wrote: How about python? Many people consider it's better than Perl and it becomes more and more popular. This is why: $ python Python 2.7.4 (default, Sep 26 2013, 03:20:26) [GCC 4.7.3] on linux2 Type help, copyright, credits or license

Re: hello from a newbie

2013-10-26 Thread Paul Johnson
On Sat, Oct 26, 2013 at 04:47:47PM +0530, Mayuresh Kathe wrote: btw, most people and web pages don't mention it, but, mastering algorithms with perl is also supposedly a good book, though only a very old edition is available. It is, indeed, and excellent book. And it doesn't really matter if

Re: hello from a newbie

2013-10-26 Thread Shawn H Corey
On Sat, 26 Oct 2013 16:06:56 +0530 Mayuresh Kathe mayur...@kathe.in wrote: i've been searching for books on learning and mastering perl and found the series by o'reilly to be quite well recommended. Another O'Reilly book is Perl Best Practice by Damian Conway. Much of this book has been

Re: hello from a newbie

2013-10-26 Thread Robert Freiberger
I really enjoyed reading this book by Ovid. http://ofps.oreilly.com/titles/9781118013847/ Felt it was much easier to understand then the Learning Perl 6th edition I was reading before. On Sat, Oct 26, 2013 at 7:54 AM, Shawn H Corey shawnhco...@gmail.comwrote: On Sat, 26 Oct 2013 16:06:56

Re: hello from a newbie

2013-10-26 Thread Mayuresh Kathe
On Sat, Oct 26, 2013 at 10:54:12AM -0400, Shawn H Corey wrote: On Sat, 26 Oct 2013 16:06:56 +0530 Mayuresh Kathe mayur...@kathe.in wrote: i've been searching for books on learning and mastering perl and found the series by o'reilly to be quite well recommended. Another O'Reilly book is

Re: hello from a newbie

2013-10-26 Thread John SJ Anderson
Hi. This is the _Perl_ beginners list. Python advocacy is very much off-topic. If you'd like to stay and talk about Perl programming, please do. If you'd like to advocate for Python, please take that conversation some where else. thanks, john, the perl-beginners list mom. On Sat, Oct 26, 2013

Re: hello from a newbie

2013-10-26 Thread John SJ Anderson
On Sat, Oct 26, 2013 at 9:08 AM, Mayuresh Kathe mayur...@kathe.in wrote: A pseudo-tangential question; Under the platform, I could do apt-get install perltidy to install perltidy, but there's nothing similar for perlcritic. Is perlcritic packaged under a different name? or is there a

Re: hello from a newbie

2013-10-26 Thread Shawn H Corey
On Sat, 26 Oct 2013 14:13:51 -0700 John SJ Anderson geneh...@genehack.org wrote: You should also know that, Shawn's endorsement not withstanding, many people consider the advice given in Perl Best Practices to be a bit of a mixed bag. There are some good tips in there, but they're mixed in

Re: hello from a newbie

2013-10-26 Thread htchd7ji
I'm a newbie of programming and want to know the differences between these 2 tools. I believe every newbie is curious to know the truth instead of some junk posts online. What's the big deal to compare these 2 languages? Simply because this is an old topic? On Oct 26, 2013, at 5:08 PM,

Re: hello from a newbie

2013-10-26 Thread Shawn H Corey
On Sat, 26 Oct 2013 17:24:34 -0400 htchd...@live.com wrote: What's the big deal to compare these 2 languages? Simply because this is an old topic? Because some of the early advocates for Python trash-talked Perl. And Perlers, wanting to show that they can be equally immature, trash-talked

Re: hello from a newbie

2013-10-26 Thread John SJ Anderson
On Sat, Oct 26, 2013 at 2:18 PM, Shawn H Corey shawnhco...@gmail.com wrote: There are many things in it, like Don't use the two-argument open, which are relevant. part of the problem is that many of the older Perl sources are out of date. PBP does tell what to use instead. All of the Perl

Re: hello from a newbie

2013-10-26 Thread John SJ Anderson
On Sat, Oct 26, 2013 at 2:24 PM, htchd...@live.com wrote: I'm a newbie of programming and want to know the differences between these 2 tools. I believe every newbie is curious to know the truth instead of some junk posts online. What's the big deal to compare these 2 languages? Simply

Re: hello from a newbie

2013-10-26 Thread David Christensen
On 10/26/13 03:36, Mayuresh Kathe wrote: hi, this is my first mail to this list, and the first time i'll be working with perl. Welcome! :-) i've been searching for books on learning and mastering perl and found the series by o'reilly to be quite well recommended. would i be right in my

Re: hello from a newbie

2013-10-26 Thread David Christensen
On 10/26/13 04:31, Mayuresh Kathe wrote: I have watched Python programmers pull their hair out trying to bring the performace upto acceptable limits and resource usage under control. As soon as their programs increase in complexity, the problems with Python start becoming evident. IMNSHO I've

Re: hello from a newbie

2013-10-26 Thread Mayuresh Kathe
On Sat, Oct 26, 2013 at 02:13:51PM -0700, John SJ Anderson wrote: On Sat, Oct 26, 2013 at 9:08 AM, Mayuresh Kathe mayur...@kathe.in wrote: A pseudo-tangential question; Under the platform, I could do apt-get install perltidy to install perltidy, but there's nothing similar for perlcritic.

Re: hello from a newbie

2013-10-26 Thread Mayuresh Kathe
On Sat, Oct 26, 2013 at 10:54:12AM -0400, Shawn H Corey wrote: On Sat, 26 Oct 2013 16:06:56 +0530 Mayuresh Kathe mayur...@kathe.in wrote: i've been searching for books on learning and mastering perl and found the series by o'reilly to be quite well recommended. Another O'Reilly book is

Re: hello from a newbie

2013-10-26 Thread Rob Dixon
On 26/10/2013 13:59, Shawn H Corey wrote: On Sat, 26 Oct 2013 07:28:09 -0400 htchd...@live.com wrote: How about python? Many people consider it's better than Perl and it becomes more and more popular. This is why: Why what? I assume you're promoting Python, which is a bit strange on this

Re: Hello

2013-07-14 Thread David Christensen
On 07/12/13 21:50, David Christensen wrote: I was half asleep when I wrote that -- it looks like three people answered two different questions: 1. Shawn and James -- what is the IP address of the DNS server used by the host? 2. David -- what is the Internet address of the NAT firewall

Re: Hello

2013-07-14 Thread David Christensen
On 07/12/13 21:55, Chengqiao Wang wrote: unsubscribe. please cancel the subscribe. I am not a list moderator and do not have the ability to unsubscribe you. To unsubscribe from the beginners@perl.org mailing list, please send an e-mail to: beginners-unsubscr...@perl.org HTH, David

Re: Hello

2013-07-14 Thread Franklin Lawerence
Yes David, it had been answered. Thanks a lot :) On Sun, Jul 14, 2013 at 9:01 PM, David Christensen dpchr...@holgerdanske.com wrote: On 07/12/13 21:50, David Christensen wrote: I was half asleep when I wrote that -- it looks like three people answered two different questions: 1. Shawn

Hello

2013-07-12 Thread Frank Vino
Could you please let me know the perl script how to find DNS IP address of system.? Thanks, -Vino

Re: Hello

2013-07-12 Thread shawn wilson
Easiest: my $file = /etc/resolv.conf; open(my $fh, , $file) or die Can not open $file: . $!; my @dns; while ($fh) { next unless /nameserver +([0-9\.]+)/; push @dns, $1; } On Fri, Jul 12, 2013 at 2:31 AM, Frank Vino vinofra...@gmail.com wrote: Could you please let me know the perl script how

Re: Hello

2013-07-12 Thread Franklin Lawerence
Thanks Shawn. -Vino On Fri, Jul 12, 2013 at 12:44 PM, shawn wilson ag4ve...@gmail.com wrote: Easiest: my $file = /etc/resolv.conf; open(my $fh, , $file) or die Can not open $file: . $!; my @dns; while ($fh) { next unless /nameserver +([0-9\.]+)/; push @dns, $1; } On Fri, Jul 12,

Re: Hello

2013-07-12 Thread James Alton
use feature say; use Net::DNS; foreach (Net::DNS::Resolver-new-nameservers) { say; } James Alton 801-388-7497 On Fri, Jul 12, 2013 at 12:31 AM, Frank Vino vinofra...@gmail.com wrote: Could you please let me know the perl script how to find DNS IP address of system.? Thanks, -Vino

Re: Hello

2013-07-12 Thread shawn wilson
I should've known it was somewhere in Net::DNS. Though it took me 2 minutes to think and write that. Good call. On Jul 12, 2013 9:20 AM, James Alton jamesalton...@gmail.com wrote: use feature say; use Net::DNS; foreach (Net::DNS::Resolver-new-nameservers) { say; } James Alton 801-388-7497

Re: Hello

2013-07-12 Thread David Christensen
On 07/11/13 23:31, Frank Vino wrote: Could you please let me know the perl script how to find DNS IP address of system.? Testing Shawn Wilson's code: 2013-07-12 21:13:45 dpchrist@desktop ~/sandbox/perl $ cat ip-address.pl #!/usr/bin/perl use strict; use warnings; my $file = /etc/resolv.conf;

Hello a question about .+?

2011-12-29 Thread Xi Chen
Hello everyone, I have a question about how to translate the meaning of .+?. Please see the examples below: SASI_Hs01_00205058 HUMAN NM_005762 857 MISSION® siRNA 2 140.00 I want to get number857, I found the command below works: perl -ne 'if (/(SASI\w

Re: Hello a question about .+?

2011-12-29 Thread Chris Stinemetz
On Thu, Dec 29, 2011 at 1:17 PM, Xi Chen cxde...@gmail.com wrote: Hello everyone, I have a question about how to translate the meaning of .+?. Please see the examples below: SASI_Hs01_00205058      HUMAN   NM_005762       857     MISSION¬Æ siRNA 2                        140.00 I want

Re: Hello a question about .+?

2011-12-29 Thread Shawn H Corey
On 11-12-29 02:45 PM, Chris Stinemetz wrote: On Thu, Dec 29, 2011 at 1:17 PM, Xi Chencxde...@gmail.com wrote: Hello everyone, I have a question about how to translate the meaning of .+?. Please see the examples below: SASI_Hs01_00205058 HUMAN NM_005762 857 MISSION® siRNA 2

Re: Hello a question about .+?

2011-12-29 Thread Xi Chen
-1315 From: Chris Stinemetz [chrisstinem...@gmail.com] Sent: Thursday, December 29, 2011 2:45 PM To: Xi Chen Cc: beginners@perl.org Subject: Re: Hello a question about .+? On Thu, Dec 29, 2011 at 1:17 PM, Xi Chen cxde...@gmail.com wrote: Hello everyone

RE: Hello a question about .+?

2011-12-29 Thread Kronheim, David (Contr)
: beginners@perl.org Subject: Re: Hello a question about .+? On Thu, Dec 29, 2011 at 1:17 PM, Xi Chen cxde...@gmail.com wrote: Hello everyone, I have a question about how to translate the meaning of .+?. Please see the examples below: SASI_Hs01_00205058 HUMAN NM_005762 857

Hello there

2009-07-06 Thread Emanuele Osimo
Hello there, I'm a biologist and I'm trying to start using bioperl for bioinformatic purposese but I've never programmed. Could you suggest me something to read to start from 0 level? In the meantime, I installed bioperl and I'm doing some little trials to get to know something: I would like

Re: Hello there

2009-07-06 Thread Jim Gibson
On 7/6/09 Mon Jul 6, 2009 3:19 PM, Emanuele Osimo e.os...@gmail.com scribbled: Hello there, I'm a biologist and I'm trying to start using bioperl for bioinformatic purposese but I've never programmed. Could you suggest me something to read to start from 0 level? See the FAQ 2 for Perl. Try

Re: Hello there

2009-07-06 Thread Steve Bertrand
Emanuele Osimo wrote: Hello there, I'm a biologist and I'm trying to start using bioperl for bioinformatic purposese but I've never programmed. Could you suggest me something to read to start from 0 level? In the meantime, I installed bioperl and I'm doing some little trials to get to know

Re: Hello there

2009-07-06 Thread Dave Tang
On Tue, 07 Jul 2009 08:19:50 +1000, Emanuele Osimo e.os...@gmail.com wrote: Hello there, I'm a biologist and I'm trying to start using bioperl for bioinformatic purposese but I've never programmed. Could you suggest me something to read to start from 0 level? Have you looked at Beginning

hello

2008-12-11 Thread Pazhaniraj Bangaru Samy
Raj Work - 858-524-2142 Cell - 949-412-4525

Re: hello

2008-12-11 Thread Chas. Owens
On Thu, Dec 11, 2008 at 14:56, Pazhaniraj Bangaru Samy pbangarus...@stbernard.com wrote: Raj Work - 858-524-2142 Cell - 949-412-4525 Goodbye. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail:

why error in this == print hello world;

2008-03-08 Thread itshardtogetone
Hi, Why do I get error for this :- print hello world; Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: why error in this == print hello world;

2008-03-08 Thread Yitzchok Good
On Sun, Mar 9, 2008 at 12:27 AM, [EMAIL PROTECTED] wrote: Hi, Why do I get error foprint hello world;r this :- print hello world; Thanks Without the full code, it's hard to what is going wrong. Having the error message would also help. When I run this command: $ perl -e 'print hello

Hello and a question about perlform

2007-10-05 Thread Niels Will
Hello together, my Name is Niels (26) and I'm from Germany being new on this mailinglist. Right now I'm writing my final examination for my apprenticeship as an IT Specialist and I have a question. My program generates multiple reports with different filenames during a foreach loop

Re: Hello and a question about perlform

2007-10-05 Thread Chas. Owens
On 10/5/07, Niels Will [EMAIL PROTECTED] wrote: snip On the first file, the REPORT_TOP format is beeing used but not on the second, third, and so on one. snip Perl formats are a pain, and probably should not be used. Take a look at the Perl6::Form module for a better solution. The answer to

Re: Hello and a question

2007-01-05 Thread D. Bolliger
Dr.Ruud am Donnerstag, 4. Januar 2007 19:37: D. Bolliger schreef: perldoc -f cp You were kidding, right? :) ugh, my mail client must have automatically abbreviated perldoc File::Copy # inlcuding cp :-) thanks, Dani -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: ***SPAM*** Hello and a question

2007-01-04 Thread D. Bolliger
Tom Messmer am Mittwoch, 3. Januar 2007 17:02: Hello everyone, Hello Tom Just joined this list and I have a doozie I've been working on for a bit here to no avail. The entire problem is this; I have a list of files, say that they are named flynn.foo, flynn_something.foo, flaherty.foo

Re: Hello and a question

2007-01-04 Thread Beginner
On 3 Jan 2007 at 16:19, Tom Messmer wrote: Hi Tom, They like you to bottom post of this list. See below. instead of Copying /usr/blah/htdocs/media/events/blah06/epic_struggle/mp3/ cuchailain.mp3- /home/messmer/test/fake_mp3dir/cuchailain/ cuchailain.mp3 In other words, there will be a

Re: ***SPAM*** Hello and a question

2007-01-04 Thread Dr.Ruud
D. Bolliger schreef: perldoc -f cp You were kidding, right? :) -- Affijn, Ruud Gewoon is een tijger. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Hello and a question

2007-01-03 Thread Tom Messmer
Hello everyone, Just joined this list and I have a doozie I've been working on for a bit here to no avail. The entire problem is this; I have a list of files, say that they are named flynn.foo, flynn_something.foo, flaherty.foo flaherty_something.foo and so forth. Each of these files must

Re: Hello and a question

2007-01-03 Thread Beginner
On 3 Jan 2007 at 8:02, Tom Messmer wrote: Hello everyone, Hello and welcome, Just joined this list and I have a doozie I've been working on for a bit here to no avail. The entire problem is this; I have a list of files, say that they are named flynn.foo, flynn_something.foo

Re: Hello and a question

2007-01-03 Thread Tom Messmer
/ /home/messmer/mp3s/beowulf/ Maybe I missed some nuance of your script that would have done this...? I'm just starting out with perl really so please excuse my ignorance. Thanks! Tom On Jan 3, 2007, at 9:25 AM, Beginner wrote: On 3 Jan 2007 at 8:02, Tom Messmer wrote: Hello everyone

Re: Hello to Perl World

2007-01-02 Thread Chad Perrin
On Mon, Jan 01, 2007 at 11:22:17PM -0700, eko hermiyanto wrote: There is no good editor other than GNU Emacs. It's hard to learn in the first timer but really worth in the long time. GNU Emacs can be used to do almost everything. Even, it's very good to be used for the almighty Perl

Re: Hello to Perl World

2007-01-01 Thread eko hermiyanto
There is no good editor other than GNU Emacs. It's hard to learn in the first timer but really worth in the long time. GNU Emacs can be used to do almost everything. Even, it's very good to be used for the almighty Perl programming. I really wonder there is a great editor GNU Emacs but why many

RE: Hello to Perl World

2006-11-21 Thread Krishnakumar K P
http://www.textpad.com/ is also very good. -Original Message- From: Todd W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:40 AM To: beginners@perl.org Subject: Re: Hello to Perl World Tom Smith [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If you're

Hello

2006-09-21 Thread Ian Macdonald
Dear All, First I would like to say hello to all in the community Next I would ask for some advice, I wish to change the MAC address of my smoothwall, firewall every 24 hours, I can do it manually, but would prefer it to be a cron job and perl seems ideal. You may well ask why I wish to do

Re: Hello

2006-09-21 Thread Rob Coops
work would allow this person to be tapped. Hope this helps you a bit, Rob ps, I am not against tapping as such I just don't states that are to idle. On 9/21/06, Ian Macdonald [EMAIL PROTECTED] wrote: Dear All, First I would like to say hello to all in the community Next I would ask for some

Re: Hello

2006-09-21 Thread Randal L. Schwartz
Ian == Ian Macdonald [EMAIL PROTECTED] writes: Ian Next I would ask for some advice, I wish to change the MAC address of my Ian smoothwall, firewall every 24 hours, I can do it manually, but would Ian prefer it to be a cron job and perl seems ideal. You may well ask why I Ian wish to do such a

Fwd: hello Sir, I have an issue with the case insensitive characters, would you plz help me

2006-08-23 Thread mukthar ahmed
-- Forwarded message -- From: mukthar ahmed [EMAIL PROTECTED] Date: Aug 23, 2006 5:34 PM Subject: hello Sir, I have an issue with the case insensitive characters, would you plz help me To: perl5-porters@perl.org Let me introduce myself first, I am Mukthar Ahmed, working

Fwd: hello Sir, I have an issue with the case insensitive characters, would you plz help me

2006-08-23 Thread Adriano Ferreira
Mukthar, I am not sure I understood your problem, but let me give a try. The user input a value for $MACHINE_TYPE and you want to test if there exists a file $first.trc.$MACHINE_TYPE regardless of case in the variable. This is it? It depends: if the filesystem is case-insensitive (like in

Hello

2005-04-27 Thread laxmi goudappa patil
 Hello.. Im new to the Perl.. Doing serial programming in perl. when i read a port, if there is data on the port it reads successfully. if there is no data at that moment im recieving the same data which has n't written to the port.. i have two parts of the program.. one is writing to the port

Re: Hello

2005-04-27 Thread Offer Kaye
On 27 Apr 2005 11:34:21 -, laxmi goudappa patil wrote: Hello.. Im new to the Perl.. Post some code, no one will be able to help you otherwise. Also, Hello is a bad subject for an email to this list. Please use a more meaningful subject in the future. -- Offer Kaye -- To unsubscribe, e

serial programming in Perl, was Re: Hello

2005-04-27 Thread Chris Devers
Please use a descriptive subject line. Half the spam I get has Hello for a subject, so your message nearly got flagged as spam deleted. On Wed, 27 Apr 2005, laxmi goudappa patil wrote: Doing serial programming in perl. when i read a port, if there is data on the port it reads successfully

sorting and printing text files (was: hello all)

2005-02-17 Thread Wiggins d'Anconia
Don Doucette wrote: hello everyone. my name is don doucette and I am 38 years old and have been involved with computers since the Timex Sinclair. Ok. Please use a more informative subject line. I have recently set up a server and am hosting a web site and forum for my community association. I

RE: hello all

2005-02-17 Thread Mike Garner
PROTECTED] Sent: Wednesday, February 16, 2005 7:43 PM To: beginners-cgi@perl.org Subject: hello all hello everyone. my name is don doucette and I am 38 years old and have been involved with computers since the Timex Sinclair. I have recently set up a server and am hosting a web site and forum

Re: sorting and printing text files (was: hello all)

2005-02-17 Thread Don Doucette
Wow the response has been great! Thanks to everyone who threw their hat in the ring, sorry for the lousy choice of subject line... I am attempting to implement your suggestions, I should see a positive result soon. Thanks Don -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[no question, just greeting] hello perl.beginners

2004-03-09 Thread Kevin Pfeiffer
Dear group, Just a quick note to say hello. I've been off trying to learn some Java; wrote one tiny Perl script last week (was like tasting home cooking). Just wanted to check in here. I see that you all are still diligently and patiently helping people with their Perl questions

Re: Learning Graphics - Problem with Hello World Example / Fixed it!

2003-06-05 Thread Todd Wade
Clint [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I was able to get it fixed. Here's what I did in case someone else runs into the same problem: Changed from these lines: my $image = new GD::Image(401,201); (btw: this line is different than what is found in the text)

Learning Graphics - Problem with Hello World Example

2003-06-04 Thread Clint
is a snippet with the versions: GD -- 1.41 GD::Graph -- 1.35 Next I copied the following example script from the author's supporting page at O'Reilly's site: -- #!/usr/bin/perl -w # Example 2-1. Hello world in GD use strict; use GD; my $image = new GD::Image(401,201

Re: Learning Graphics - Problem with Hello World Example / Fixed it!

2003-06-04 Thread Clint
using a findmodules script I found elsewhere, and here is a snippet with the versions: GD -- 1.41 GD::Graph -- 1.35 Next I copied the following example script from the author's supporting page at O'Reilly's site: -- #!/usr/bin/perl -w # Example 2-1. Hello world

hello

2003-03-27 Thread Todd
Hello everyone, I imagine you see emails like this frequently, but I am looking for some tips. I'd like to know some good technics for beginners to perl, and what steps they should take to get involved and start to understand the basic concepts of perl, if anyone could reply with how

Re: hello

2003-03-27 Thread Jeff Westman
An excellent starting point is the camel book, Learning Perl, by Randal Schwartz Tom Christiansen. Don't let the title fool you -- it's a solid reference too --- Todd [EMAIL PROTECTED] wrote: Hello everyone, I imagine you see emails like this frequently, but I am looking for some

Re: Help with Hello world

2003-01-06 Thread Wiggins d'Anconia
David Leathers wrote: snip After reading some of the post just was wondering if I'm starting to learn the right language first. I am studying to be a network administrator or a job in that field. Is this the best language for me to start on? That is basically un-answerable :-). Unix,

Re: Help with Hello world

2003-01-06 Thread Jenda Krynicky
From: Wiggins d'Anconia [EMAIL PROTECTED] David Leathers wrote: snip After reading some of the post just was wondering if I'm starting to learn the right language first. I am studying to be a network administrator or a job in that field. Is this the best language for me to start on?

Re: Help with Hello world

2003-01-06 Thread Wiggins d'Anconia
Jenda Krynicky wrote: snip I think C is prettymuch useless for normal sysadmins. There already is a Perl module for almost anything and if there is not Win32::API, FFI or something like that can most probably get you there as well. And since it takes ten times longer to do anything in C

Help with Hello world

2003-01-04 Thread David Leathers
Hi I'm using RH8.0 and trying to run my first program. Feel kind of stupid right now but I can not get this to work. In vi I did #!/usr/bin/perl printHello World; Saved file as first did chmod 755 and then ./first I get no error but Hello World does not print on the screen

Re: Help with Hello world

2003-01-04 Thread Ramprasad
oops are u sure you havent done any meddling with perl on your system try this on command line /usr/bin/perl -e 'print hello world\n' You still get no output then there is something really wrong try installing perl again David Leathers wrote: Hi I'm using RH8.0 and trying to run my first

Re: Help with Hello world

2003-01-04 Thread nyec
On Saturday 04 January 2003 10:18 am, David Leathers wrote: #!/usr/bin/perl printHello World; Are you sure it's not printing with your prompt immediately after Hello World? Try putting a new line after World and it may be noticeable. print Hello World\n; nyec

Re: Help with Hello world

2003-01-04 Thread David Leathers
, January 05, 2003 2:53 AM Subject: Re: Help with Hello world On Saturday 04 January 2003 10:18 am, David Leathers wrote: #!/usr/bin/perl printHello World; Are you sure it's not printing with your prompt immediately after Hello World? Try putting a new line after World and it may

Hello i need some help

2002-12-24 Thread bh-horse Salto
Hello, i have a program developed in perl but i need a script to make the program find a hidden value in a html text document. Ex: body ... input type=hidden value='6291587' name='class_id' input type=hidden value='4' name='key5' input type=hidden value='EF3854' name='11' /font/form /body

Hello and question

2002-08-27 Thread martin1
Hello, I am Martin Schaaf, Forth hacker and Perl mystified. I'm taking on a volunteer project to create a cgi script to maintain a simple flat file database and generate reports through email. Passwords and commands would be passed through the email Subject: line. The unique identifier

Re: Hello and question

2002-08-27 Thread Wiggins d'Anconia
Remember to reply all so the list gets your posts as well... [EMAIL PROTECTED] wrote: At 06:48 PM 8/27/2002 -0400, you wrote: This doesn't sound like a CGI script You're absolutely right. This is my second iteration, I've dropped the CGI implementation for security reasons and

Hello all this grading program is still messing up

2002-05-23 Thread FLAHERTY, JIM-CONT
I have a test maker script , that generates random questions from a DB My grader script needs to grade those same random questions it has a variable that called $questions_asked its output is like this !146!612!145!385!655!34!122!583!119!109 the code #! /usr/bin/perl #user

RE: Hello all this grading program is still messing up

2002-05-23 Thread Nikola Janceski
That code looks like some of my first few scripts that I ever wrote, and that I am currently re-writing (from scratch) to be more managable. Nikola Janceski He who asks is a fool for five minutes, but he who does not ask remains a fool forever. -- Chinese Proverb

Re: Hello all this grading program is still messing up

2002-05-23 Thread Jonathan E. Paton
--- FLAHERTY, JIM-CONT [EMAIL PROTECTED] wrote: I have a test maker script, that generates random questions from a DB. My grader script needs to grade those same random questions Read, and then repost with a more specific question, one that does not take 2 hours or more to figure out what

RE: Hello all this grading program is still messing up

2002-05-23 Thread Beau E. Cox
, 2002 10:08 AM To: Beginners (E-mail) Subject: Hello all this grading program is still messing up I have a test maker script , that generates random questions from a DB My grader script needs to grade those same random questions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

FW: Hello all this grading program is still messing up

2002-05-23 Thread FLAHERTY, JIM-CONT
the array is too fast for the query ??? I attached a results for a grading page thanks Jim -Original Message- From: FLAHERTY, JIM-CONT [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 4:08 PM To: Beginners (E-mail) Subject: Hello all this grading program is still messing up

Re: Hello

2002-02-09 Thread Jonathan E. Paton
--- Oskar Norin [EMAIL PROTECTED] wrote: I having trouble to use Net:Telnet:Cisco lib because it exits the program when its not able to connect to a host. How can I a prevent it from exiting and just read the error message and continue with the next host. eval { # Do code } if ($@) { #

Re: Hello make tabled form

2002-01-03 Thread Christopher Solomon
On Thu, 3 Jan 2002, Naeemah Small wrote: I am creating a table form. The reason why, is because I want it to be neat. I am using CGI.pm This is my first time making a form in perl. How do I do it. read all about it with the command: perldoc CGI or search the web-

Re: Hello make tabled form

2002-01-03 Thread Peter Scott
At 11:12 AM 1/3/02 -0700, Naeemah Small wrote: I am creating a table form. The reason why, is because I want it to be neat. I am using CGI.pm This is my first time making a form in perl. How do I do it. This type of question isn't very useful on this list; let me see if I can explain. It's

Re: Hello make tabled form

2002-01-03 Thread Curtis Poe
--- Peter Scott [EMAIL PROTECTED] wrote: At 11:12 AM 1/3/02 -0700, Naeemah Small wrote: I am creating a table form. The reason why, is because I want it to be neat. I am using CGI.pm This is my first time making a form in perl. How do I do it. You can't avoid the tutorial stage. Okay,

Hello. How can I fix this line of code?

2001-12-27 Thread Joelmon2001
Hi, there. I am a perl newbie. I just was curious how I can convert this: $q - start_form({action = $q - url()}) . (Where url = www.domain.com) to turn url into www.domain.com/form.htm I don't know how to edit that line to do it Just figured I'd ask before spending hours trying to figure it

hello!! please help me!!

2001-12-12 Thread
hello!! I'm a begginer of perl. so i have many problomes.(my english is poor.I'm sorry) please help me!!! my sever's config - window 2000 server and i installed activeperl 5.6.1 (i got it www.activeperl.com) - I installed oracle client8.0 (the remote db server consiste of oracle8.0

RE: hello!! please help me!!

2001-12-12 Thread Bob Showalter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 3:58 AM To: [EMAIL PROTECTED] Subject: hello!! please help me!! hello!! I'm a begginer of perl. so i have many problomes.(my english is poor.I'm sorry) please help me

Re: Hello, how to tell if I have perl DBI?

2001-12-03 Thread Jonathan Gardner
On Sunday 02 December 2001 11:43 am, [EMAIL PROTECTED] wrote: I'm just trying to tell if dbi itself is installed or not. I guess I have to go to the mysql site and download it, but do I install the DBI for perl or since I am using mysql *just* the specified DBD for mysql? That's what is

Hello, how to tell if I have perl DBI?

2001-12-01 Thread Joelmon2001
Hello, I have mysql installed as well as perl on our raq 3, I am at the mysql site for perl looking at dbi/dbd for mysql downloads and I was wondering how I can tell if I already have the perl dbi (Which dbi for ex?) Also, is the dbi for connections in general? See, I see 2 choices Perl dbi

  1   2   >