Re: Hi Folks : I'm trying to create a regular expression for finding a # wishing a dataset for only a number that is a multiple of 5

2019-09-09 Thread Gautam Desai
Thanks a lot Gautam S Desai On Sun, Sep 8, 2019 at 6:39 PM Mike wrote: > > It's probably best if you write a short script > that reads a __DATA__ section of data. > Then tell us what it does and what you expected > it to do. > > Off hand I don't see anything wrong with your regex, > but I do

Re: Hi Folks : I'm trying to create a regular expression for finding a # wishing a dataset for only a number that is a multiple of 5

2019-09-08 Thread Jim Gibson
> On Sep 8, 2019, at 6:36 PM, Olivier wrote: > > Jim Gibson writes: > >> On Sep 8, 2019, at 3:39 PM, Mike wrote: >>> >>> >>> It's probably best if you write a short script >>> that reads a __DATA__ section of data. >>> Then tell us what it does and what you expected >>> it to do. >>> >>>

Re: Hi Folks : I'm trying to create a regular expression for finding a # wishing a dataset for only a number that is a multiple of 5

2019-09-08 Thread Olivier
Jim Gibson writes: > On Sep 8, 2019, at 3:39 PM, Mike wrote: >> >> >> It's probably best if you write a short script >> that reads a __DATA__ section of data. >> Then tell us what it does and what you expected >> it to do. >> >> Off hand I don't see anything wrong with your regex, >> but I do

Re: Hi Folks : I'm trying to create a regular expression for finding a # wishing a dataset for only a number that is a multiple of 5

2019-09-08 Thread Jim Gibson
On Sep 8, 2019, at 3:39 PM, Mike wrote: > > > It's probably best if you write a short script > that reads a __DATA__ section of data. > Then tell us what it does and what you expected > it to do. > > Off hand I don't see anything wrong with your regex, > but I don't know what you expect it to d

Re: Hi Folks : I'm trying to create a regular expression for finding a # wishing a dataset for only a number that is a multiple of 5

2019-09-08 Thread Mike
It's probably best if you write a short script that reads a __DATA__ section of data. Then tell us what it does and what you expected it to do. Off hand I don't see anything wrong with your regex, but I don't know what you expect it to do. Mike On 9/8/2019 4:34 PM, Jim Gibson wrote: On Sep

Re: Hi Folks : I'm trying to create a regular expression for finding a # wishing a dataset for only a number that is a multiple of 5

2019-09-08 Thread Jim Gibson
On Sep 8, 2019, at 1:30 PM, Gautam Desai wrote: > > Do you guys have any pointers ? $t =~ m{ ( # capture matched number in $1 \d* # match zero or more decimal digits [05] # followed by a '0' or '5' )

RE: Hi

2013-01-15 Thread Lou Pereira
WOW!! I think it worked, I just received an e-mail confirming the removal of my e-mail!! Good by everyone :) Regards; -Original Message- From: Torqued [mailto:torque.in...@gmail.com] Sent: Monday, January 14, 2013 8:45 PM To: Lou Pereira Cc: Kristin Nielsen; Subject: Re: Hi

Re: Hi

2013-01-14 Thread Bill Stephenson
Hi Lou, You might want to make sure you're sending your email in plain text. Check your settings, if you're using "Rich Text" or "HTML" to format the email it might screw the pooch for you. That's a real old problem, but this might be real old software running this list. Also, I found this on

Re: Hi

2013-01-14 Thread Torqued
; Lou Pereira > C: (973) 670-6821 > mailto:louis.pere...@ptalc.com > > -Original Message- > From: Kristin Nielsen [mailto:justkris...@gmail.com] On Behalf Of Kristin > Nielsen > Sent: Friday, January 11, 2013 9:14 AM > To: Lou Pereira > Cc: > Subject: Re: Hi > > If y

RE: Hi

2013-01-14 Thread Lou Pereira
: Friday, January 11, 2013 9:14 AM To: Lou Pereira Cc: Subject: Re: Hi If you do not give data for troubleshooting, there is no good way to help. See step 3: 3. If you are not unsubscribed, please add in your requests for further help (as simply saying "it doesn't work" does

Re: Hi

2013-01-11 Thread Kristin Nielsen
ld be > appreciated? > > > Regards; > > Lou Pereira > C: (973) 670-6821 > mailto:louis.pere...@ptalc.com > > > -Original Message- > From: Kristin Nielsen [mailto:kris...@justkristin.com] > Sent: Thursday, January 10, 2013 6:50 PM > To: Lou Pereira

Re: Hi

2013-01-11 Thread Hal Wigoda
> mailto:louis.pere...@ptalc.com > > > -Original Message- > From: Kristin Nielsen [mailto:kris...@justkristin.com] > Sent: Thursday, January 10, 2013 6:50 PM > To: Lou Pereira > Cc: beginners@perl.org > Subject: Re: Hi > > Lou - > > Klamerus' frus

RE: Hi

2013-01-11 Thread Lou Pereira
appreciated? Regards; Lou Pereira C: (973) 670-6821 mailto:louis.pere...@ptalc.com -Original Message- From: Kristin Nielsen [mailto:kris...@justkristin.com] Sent: Thursday, January 10, 2013 6:50 PM To: Lou Pereira Cc: beginners@perl.org Subject: Re: Hi Lou - Klamerus' frustration i

Re: Hi

2013-01-10 Thread Shawn H Corey
On Fri, 11 Jan 2013 09:46:20 +0800 Feng He wrote: > 于 2013-1-11 7:57, Shawn H Corey 写道: > > On Thu, 10 Jan 2013 18:36:07 -0500 > > "Lou Pereira" wrote: > > > >> I beg to differ regarding your comment. I have been trying to be > >> removed from this list for over a year to no avail. So, all > >

Re: Hi

2013-01-10 Thread Feng He
于 2013-1-11 7:57, Shawn H Corey 写道: On Thu, 10 Jan 2013 18:36:07 -0500 "Lou Pereira" wrote: I beg to differ regarding your comment. I have been trying to be removed from this list for over a year to no avail. So, all knowledge one, how do we remove ourselves from this mail list? Send a ema

Re: Hi

2013-01-10 Thread Shawn H Corey
On Thu, 10 Jan 2013 18:36:07 -0500 "Lou Pereira" wrote: > I beg to differ regarding your comment. I have been trying to be > removed from this list for over a year to no avail. So, all > knowledge one, how do we remove ourselves from this mail list? Send a email to: beginners-unsubscr...@perl.

Re: Hi

2013-01-10 Thread Kristin Nielsen
l knowledge one, how do > we remove ourselves from this mail list? > > > > -Original Message- > From: klamerus [mailto:klame...@earthlink.net] > Sent: Thursday, January 10, 2013 4:10 PM > To: 'bhanu chaitanya abbaraju'; beginners@perl.org > Sub

RE: Hi

2013-01-10 Thread Lou Pereira
, 2013 4:10 PM To: 'bhanu chaitanya abbaraju'; beginners@perl.org Subject: RE: Hi Since you clearly don't know how mailing lists work I'm afraid that's not possible. -Original Message- From: bhanu chaitanya abbaraju [mailto:bhanu.cha...@gmail.com] Sent: Thursday, Ja

RE: Hi

2013-01-10 Thread klamerus
Since you clearly don't know how mailing lists work I'm afraid that's not possible. -Original Message- From: bhanu chaitanya abbaraju [mailto:bhanu.cha...@gmail.com] Sent: Thursday, January 10, 2013 2:04 PM To: beginners@perl.org Subject: Hi Please help me how can I stop perl emails --

Re: Hi

2013-01-10 Thread David Precious
On Fri, 11 Jan 2013 00:34:14 +0530 bhanu chaitanya abbaraju wrote: > Please help me how can I stop perl emails "stop perl emails"? Taking a guess that you mean you want to unsubscribe from this mailing list, each post from the list contains the following header: List-Unsubscribe:

Re: hi

2011-09-15 Thread Francisco Rivas
There is a pm called Math::Combinatorics ( http://search.cpan.org/~allenday/Math-Combinatorics-0.09/lib/Math/Combinatorics.pm ) It is really helpful to get the combinations without repetition. Then you just need to process the results to get the output you need, I mean with the "," and "-". I hop

Re: hi

2011-09-14 Thread Brandon McCaig
On Wed, Sep 14, 2011 at 12:35 PM, Brandon McCaig wrote: > #/usr/bin/perl Silly me, I forgot the bang. --- a Wed Sep 14 12:38:40 2011 +++ b Wed Sep 14 12:38:46 2011 @@ -1,4 +1,4 @@ -#/usr/bin/perl +#!/usr/bin/perl use strict; use warnings; -- Brandon McCaig V zrn

Re: hi

2011-09-14 Thread Brandon McCaig
On Tue, Sep 13, 2011 at 10:00 AM, pradeep wrote: > Can anyone help me in this Of course we can! #/usr/bin/perl use strict; use warnings; my $input = <>; chomp $input; if($input eq '1,2,3,4,5,6') { print <<'EOF'; 1-2,3-4,5-6 1-2,3-5,4-6 1-2,3-6,4-5 1-3,2-4,5-6 1-3,2-5,4-6 1-3,2-6,4-5

Re: hi

2011-09-14 Thread Paul Johnson
On Tue, Sep 13, 2011 at 07:00:42AM -0700, pradeep wrote: > Hi, > I do have a doubt , > Input: > 1,2,3,4,5,6 > output: > 1-2,3-4,5-6 > 1-2,3-5,4-6 > 1-2,3-6,4-5 > > 1-3,2-4,5-6 > 1-3,2-5,4-6 > 1-3,2-6,4-5 > > 1-4,2-3,5-6 > 1-4,2-5,3-6 > 1-4,2-6,3-5 > > 1-5,2-3,4-6 > 1-5,2-4,3-6 > 1-5,2-6,3-4 > >

Re: Hi all!

2010-03-30 Thread Shlomi Fish
On Tuesday 30 Mar 2010 20:02:54 Shawn H Corey wrote: > On Tue, 30 Mar 2010 18:20:02 +0200 > > chew23 wrote: > > > I hope you're going to like Perl 5 and will use it for years to > > > come. [P6] Just a note - it's either "Perl" or "perl" but never > > > "PERL": > > > > > > http://perl.org.il/mis

Re: Hi all!

2010-03-30 Thread Shawn H Corey
On Tue, 30 Mar 2010 18:20:02 +0200 chew23 wrote: > > > > I hope you're going to like Perl 5 and will use it for years to > > come. [P6] Just a note - it's either "Perl" or "perl" but never > > "PERL": > > > > http://perl.org.il/misc.html#pl_vs_pl > > I apologize to the list, but I was not aware o

Re: Hi all!

2010-03-30 Thread chew23
Welcome to the Perl world , Perl community and this list. You can find many resources and links to resources for Perl beginners on the Perl Beginners' Site: http://perl-begin.org/ Many thanks for this! I hope you're going to like Perl 5 and will use it for years to come. [P6] Just a note -

Re: Hi all!

2010-03-30 Thread Shlomi Fish
On Tuesday 30 Mar 2010 13:38:12 chew23 wrote: > Hi all guys, > I'm new to PERL, I'm now to the list. > > This is just for a presentation... > Hi chew23! Welcome to the Perl world , Perl community and this list. You can find many resources and links to resources for Perl beginners on the Perl

Re: HI

2009-09-29 Thread Jyoti
Thanks Jeff On Wed, Sep 30, 2009 at 4:40 AM, Jeff Peng wrote: > 2009/9/30 Jyoti : > > Thanks for reply Rajiv. Will go through.Also can you explain me what this > > error means: > > Odd number of elements in anonymous hash at > > /usr/lib/cgi-bin/websubroutine.pl line 18. > > That may mean, you p

Re: HI

2009-09-29 Thread Jeff Peng
2009/9/30 Jyoti : > Thanks for reply Rajiv. Will go through.Also can you explain me what this > error means: > Odd number of elements in anonymous hash at > /usr/lib/cgi-bin/websubroutine.pl line 18. That may mean, you passed wrong arguments to the method in a class. The method expects a hash, sho

Re: Hi

2009-07-10 Thread Jenn G.
Hi, You may want Expect: http://search.cpan.org/~rgiersig/Expect-1.21/Expect.pod On Fri, Jul 10, 2009 at 3:00 PM, John Somoza wrote: > I have a general perl question. > > I'm on OSX running a program from the command line. That program asks a > series of questions, which I interactively answer.

RE: Hi all

2008-10-30 Thread Bob McConnell
From: Anusha Krishna chand > I have to make my back button of the browser disable ... can any one > help me in doing that using perl script... > Thanks in advance > Anusha Krishnachand The quickest way to do that in most browsers is right click on the toolbar, select customize and remove

Re: Hi... Help regarding chdir

2007-12-20 Thread Chas. Owens
On Dec 19, 2007 2:05 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote: > On 12/19/07, Chas. Owens <[EMAIL PROTECTED]> wrote: > > > On Dec 19, 2007 2:29 AM, Ravindra Ugaji <[EMAIL PROTECTED]> wrote: > > > > chdir ( '/opt/application') || die ("Can't change directory: $!\n"); > > > tried this also > > > chd

Re: Hi... Help regarding chdir

2007-12-19 Thread Paul Lalli
On Dec 19, 2:29 am, [EMAIL PROTECTED] (Ravindra Ugaji) wrote: > I am trying the following code to change the directory > > chdir ( '/opt/application') || die ("Can't change directory: $!\n"); > tried this also > chdir "/opt/application" || die "Can't change directory: $!\n"; > > But i am unable to

Re: Hi... Help regarding chdir

2007-12-19 Thread Tom Phoenix
On 12/19/07, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Dec 19, 2007 2:29 AM, Ravindra Ugaji <[EMAIL PROTECTED]> wrote: > > chdir ( '/opt/application') || die ("Can't change directory: $!\n"); > > tried this also > > chdir "/opt/application" || die "Can't change directory: $!\n"; > In addition

Re: Hi... Help regarding chdir

2007-12-19 Thread Chas. Owens
On Dec 19, 2007 2:29 AM, Ravindra Ugaji <[EMAIL PROTECTED]> wrote: > Hi Monks, > I am trying the following code to change the directory > > chdir ( '/opt/application') || die ("Can't change directory: $!\n"); > tried this also > chdir "/opt/application" || die "Can't change directory: $!\n"; snip

Re: Hi... Help regarding chdir

2007-12-19 Thread Tom Phoenix
On 12/18/07, Ravindra Ugaji <[EMAIL PROTECTED]> wrote: > Hi Monks, The Perl Monks are two doors down, on the left. But maybe we can help you here. > I am trying the following code to change the directory > > chdir ( '/opt/application') || die ("Can't change directory: $!\n"); > But i am unable

Re: Hi... Help regarding chdir

2007-12-19 Thread Roberto Etcheverry
It should work unless the user you are using to run the script doesn't have the rights to chdir to that directory. Ravindra Ugaji wrote: > Hi Monks, > I am trying the following code to change the directory > > chdir ( '/opt/application') || die ("Can't change directory: $!\n"); > tried this also >

Re: Hi ....

2007-03-09 Thread David Moreno Garza
Neal Clark wrote: > I always thought it was an acronym, for "Pratical Extraction and > Report Language". Is that untrue, just one of those post-facto > expansions? Indeed, just as Pathologically Eclectic Rubbish Lister. -- David Moreno Garza <[EMAIL PROTECTED]> | http://www.damog.net/ Si ti

Re: Hi ....

2007-03-09 Thread Neal Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (from the link) But never write "PERL", because perl is not an acronym, apocryphal folklore and post-facto expansions notwithstanding. I always thought it was an acronym, for "Pratical Extraction and Report Language". Is that untrue, just one

Re: Hi ....

2007-03-09 Thread John W. Krahn
Chris E. Rempola wrote: > Hi All: Hello, > Just sending a test email to see if this works. I started reading the > archives & saw that this is a very friendly community. I'm a PERL http://perldoc.perl.org/perlfaq1.html#What's-the-difference-between-%22perl%22-and-%22Perl%22%3f :-) John --

Re: Hi ....

2007-03-09 Thread Jeff Pang
Welcome. But,would you maybe never send a test message to this list? It would trouble most of the people on this list. :) -Original Message- >From: "Chris E. Rempola" <[EMAIL PROTECTED]> >Sent: Mar 9, 2007 11:33 AM >To: beginners@perl.org >Subject: Hi > >Hi All: > >Just sending a test

Re: Hi,, Regarding perl modules

2007-01-10 Thread Andy Greenwood
On 10 Jan 2007 09:21:55 -, Vikas Kumar Choudhary <[EMAIL PROTECTED]> wrote: Hi I am vikas here, just getting in perl.. can anybody told me to create modules and how to use these in our scripts.. $ perldoc perlmod should get you started. To use modules you've created, just put this at the

Re: Hi, how to extract five texts on each side of an URI? I post my own perl script and its use.

2006-11-14 Thread Jenda Krynicky
From: ťÔ Íő <[EMAIL PROTECTED]> > my $text; > for my $left_index (1..WIDTH) { >last if $start_index < $left_index; > $text .= $texts_arr[$start_index - $left_index] . ' '; > } > $text .= join(" ", @texts_arr[$start_index..$end_index]) . ' '; >for my $right_index (1..WIDTH) { >

RE: Hi, how to extract five texts on each side of an URI? I post my own perl script and its use.

2006-11-11 Thread Charles K. Clarkson
Hui Wang wrote: : Can anybody tell me how to improve the running speed of this : program? Thanks. I don't know if this is faster, but it is a more accurate solution. Your submitted code failed under some untested circumstances. I created another page similar to the

Re: Hi, how to extract five texts on each side of an URI? I post my own perl script and its use.

2006-11-11 Thread Robin Sheat
On Sunday 12 November 2006 13:17, 辉 王 wrote: > I can make my program do its job at last, but it runs slowly. > Can anybody tell me how to improve the running speed of this   > program? Thanks. Have you had a look with the Perl profiler to see which bits are going slow. That way you know to look at

RE: Hi everyone, how to extract five texts on each side of an URI? I post my own perl script this time.

2006-11-09 Thread Charles K. Clarkson
Hui Wang wrote: : I can make my program do its job at last, but it runs : slowly. Can anybody tell me how to improve the running : speed of this program? You only provided the module. Can you supply a working example? Something we can actually run? HTH, Charles K.

Re: Hi everyone, who can tell me how to extract five texts on each side of an URI? Thanks

2006-11-08 Thread Bjørge Solli
On Thursday 09 November 2006 01:33, 辉 王 wrote: > Hello, everyone, > > Recently, when I want to implement Chakrabarti's algorithm > > using Perl, I found it difficult for me to extract five texts on > > each side of an URL. > > I can make my program do its job at last, but it runs slowly. > > Can

Re: Hi everyone, who can tell me how to extract five texts on each side of an URI? Thanks

2006-11-08 Thread Jeff Pang
> > Recently, when I want to implement Chakrabarti's algorithm > >using Perl, I found it difficult for me to extract five texts on > >each side of an URL. > > No one can give helps unless he also know this special algorithm. -- Books below translated by me to Chinese. Practical mod_per

Re: Hi, Everyone, I can't install perl modules correctly using CPAN, why?

2006-11-04 Thread Jen Spinney
On 11/3/06, Jeff Pang <[EMAIL PROTECTED]> wrote: > >Hi, everyone, > >When I want to install perl module WWW::Yahoo::KeywordExtractor in > >my Ubuntu damper 6.06 OS, it doesn't work properly. Looks like something with XML is wrong. Give a try to install XML::SAX::Expat and XML::Simple at first

Re: Hi, Everyone, I can't install perl modules correctly using CPAN, why?

2006-11-03 Thread Jeff Pang
> >Hi, everyone, > >When I want to install perl module WWW::Yahoo::KeywordExtractor in > >my Ubuntu damper 6.06 OS, it doesn't work properly. Looks like something with XML is wrong. Give a try to install XML::SAX::Expat and XML::Simple at first. -- Books below translated by me to Chinese. Pra

Re: Hi

2006-05-15 Thread Leonid Grinberg
I am a novice to perl,I would like to learn perl in a systematic way, Whats the best way to start with,I dont have any experience of programming Language, But I came to know that perl is a Good Programming Language Whether or not you do choose to use a book or not, remember: always try doing som

Re: Hi

2006-05-15 Thread Ron Smith
--- Kaushal Shriyan <[EMAIL PROTECTED]> wrote: > Hi All > > I am a novice to perl,I would like to learn perl in > a systematic way, > Whats the best way to start with,I dont have any > experience of > programming Language, But I came to know that perl > is a Good > Programming Language Try Learn

Re: hi please clarify my doubts

2006-02-14 Thread Marilyn Sander
Devaraja, Is this a question about vperl? You speak of generating verilog code. Is the instantiation you speak of the instantiation of your block that is defined in verilog? What do you mean by "the instantiation part of the perl script"? --Marilyn Tom Phoenix wrote On 02/14/06 09:49,: > On 2/

Re: hi please clarify my doubts

2006-02-14 Thread Tom Phoenix
On 2/13/06, DEVARAJA AP <[EMAIL PROTECTED]> wrote: >i wrote a perlscript to generate a verilog code with instantiations .in > this > after instantiation, the ports getting as eg > module_name name(.a(a),.b(b),...) > > but for connection sakeif want to connect a t

Re: Hi All

2005-11-16 Thread Paul Johnson
On Wed, Nov 16, 2005 at 08:28:39AM -0600, Gomez, Juan wrote: > But why no one has done something to make Perldoc more helpful for all? Who are you expecting to do that? Perl is developed by volunteers. And the number of active developers is vanishingly small compared to the number of people wh

Re: Hi All

2005-11-16 Thread Bob Showalter
Shawn Corey wrote: ...searching perldoc really, really sucks. The only search available is `perldoc -q keyword` and it only searches the FAQs and then, only their questions. That's right, only the questions; the answers are skipped! Here's a 3-line shell script I use to grep through the core

RE: Hi All

2005-11-16 Thread Gomez, Juan
: beginners@perl.org Subject: Re: Hi All On Wed, 16 Nov 2005, Shawn Corey wrote: > Date: Wed, 16 Nov 2005 08:34:16 -0500 > From: Shawn Corey <[EMAIL PROTECTED]> > To: beginners@perl.org > Subject: Re: Hi All > > Randal L. Schwartz wrote: > >>>>>>"Hri

Re: Hi All

2005-11-16 Thread Dennis G. Wicks
On Wed, 16 Nov 2005, Shawn Corey wrote: > Date: Wed, 16 Nov 2005 08:34:16 -0500 > From: Shawn Corey <[EMAIL PROTECTED]> > To: beginners@perl.org > Subject: Re: Hi All > > Randal L. Schwartz wrote: > >>>>>>"Hridyesh" == Hridyesh Pant <[

Re: Hi All

2005-11-16 Thread Shawn Corey
Randal L. Schwartz wrote: "Hridyesh" == Hridyesh Pant <[EMAIL PROTECTED]> writes: Hridyesh> Check this site http://perldoc.perl.org/ Why refer someone to a website that replicates everything that is on their own disk anyway? It boggles my mind every time I see this! Because searching perl

RE: Hi All

2005-11-16 Thread Pant, Hridyesh
PROTECTED] Sent: 16 November 2005 15:06 To: beginners@perl.org Subject: Re: Hi All >>>>> "Hridyesh" == Hridyesh Pant <[EMAIL PROTECTED]> writes: Hridyesh> Check this site http://perldoc.perl.org/ Why refer someone to a website that replicates everything that

Re: Hi All

2005-11-16 Thread Randal L. Schwartz
> "Hridyesh" == Hridyesh Pant <[EMAIL PROTECTED]> writes: Hridyesh> Check this site http://perldoc.perl.org/ Why refer someone to a website that replicates everything that is on their own disk anyway? It boggles my mind every time I see this! Learn to use the "perldoc" command. As for site

RE: Hi All

2005-11-16 Thread Pant, Hridyesh
Check this site http://perldoc.perl.org/ Regards Hridyesh -Original Message- From: Santosh Reddy [mailto:[EMAIL PROTECTED] Sent: 15 November 2005 12:10 To: beginners@perl.org Subject: Hi All Hi All, This is my first mail to this mailing list. I am just starting to learn Perl. Plea

Re: Hi All

2005-11-14 Thread Chris Devers
On Tue, 15 Nov 2005, Santosh Reddy wrote: > This is my first mail to this mailing list. I am just starting to > learn Perl. > > Please help me in getting the basics cleared. Here's some basics: http://learn.perl.org/ Here's another: This list responds best to direct questions about specific p

RE: hi

2005-10-11 Thread Timothy Johnson
ariable with that name and printing it for you. By adding 'use strict' to the top of your script, you can avoid this because Perl will complain about the variable not being declared. Check out 'perldoc strict' for more detailed info. -Original Message- From: ZHAO, BIN

Re: hi

2005-10-10 Thread Suvajit Sengupta
Hi, Can you post the whole script. Possibly you have declared 'use strict' in your code or it has been set default. The problem is that the compiler is demanding explicit declaration of the variables that you have used. declaring @shrimp as : my @shrimp = ; and foreach my $tuna (@shrimp) { s

RE: hi

2005-10-10 Thread Charles K. Clarkson
ZHAO, BING wrote: : I am doing this simple enough script, but somehow : it generates error: : : open COO, "1898.inf" or die "Cannot open file 1898.inf:$!"; : @shrimp=; : : foreach @shrimp{ : $squid=substr($_,0,4); : $shark=$_.".pdb"; : : Global sym

Re: hi

2005-10-10 Thread Randal L. Schwartz
> "Bing" == Bing Zhao <[EMAIL PROTECTED]> writes: Bing> system "\rm dali.lock"; #ignore this part But I can't. Why do you want to run a program named CR-m? As in \x0Am. As in, "return" followed by "m". That's what "\rm" means. -- Randal L. Schwartz - Stonehenge Consulting Services,

RE: hi

2005-10-10 Thread Timothy Johnson
You need to declare each variable (scalar, array, or hash) with my before you use them. This lets Perl know what scope they should have. Example: my @shrimp; foreach(@shrimp){ my $prawn = 1; do something... } -Original Message- From: ZHAO, BING [mailto:[EMAIL PROTECTED] Sent: M

Re: hi

2005-09-27 Thread Xavier Noria
On Sep 26, 2005, at 22:20, ZHAO, BING wrote: Hi, How do you INPUT the output( of a file) to the designated file? To be specific, if the file being output generates a score/number which needs to be subsequently input into another file, how to you set up the output and input? L

RE: hi

2005-09-27 Thread Thomas Bätzler
ZHAO, BING <[EMAIL PROTECTED]> asked: > How do you INPUT the output( of a file) to the > designated file? To be specific, if the file being output > generates a score/number which needs to be subsequently input > into another file, how to you set up the output and input? >

postgresql questions, was Re: Hi

2005-08-02 Thread Chris Devers
On Tue, 2 Aug 2005, Anish Kumar K wrote: > I want to retreive from postgres database by removing the dos > characters and the spaces from a perl file. It is like in the DB side > there is " " and dos charcters in the table itself. So when I am doing > a select query as it is checking in the tab

RE: Hi

2004-09-03 Thread Bob Showalter
Anish Kumar K. wrote: > Hi Welcome. > > I am Beginner in perl..Can any one sugges some sample programs of > PERL where I can build the skills. Please let me know at the > earliest. Thanks Start at http://learn.perl.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: hi!!

2004-03-05 Thread Joel
This is off topic, but is cygwin just the ports of GNU software for windows, or is it an actual command line interface that simulates linux? Joel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: hi!!

2004-03-05 Thread WilliamGunther
>In a message dated 3/5/2004 6:11:53 PM Eastern Standard Time, >[EMAIL PROTECTED] writes: >i have downloaded cygwin and perl 5.0 comes along with it. >How can i access perl from cygwin. My purpose is only to be able to write a script in perl >and run it using cygwin. Can anyone help me with this.

RE: hi..

2004-01-02 Thread Ajey Kulkarni
thanks Charles.I will give the ryt subject next time. On Fri, 2 Jan 2004, Charles K. Clarkson wrote: > Ajey Kulkarni <[EMAIL PROTECTED]> wrote: > > : Subject: hi.. > > > Great subject. So much better than "Need help with regex" > or "Need to escape []". Always keep us guessing. > > > :

RE: hi..

2004-01-02 Thread Charles K. Clarkson
Ajey Kulkarni <[EMAIL PROTECTED]> wrote: : Subject: hi.. Great subject. So much better than "Need help with regex" or "Need to escape []". Always keep us guessing. : i want to 'insert' an escape character for every '[' & ']' : i will find in a variable.. : : Suppose $temp has a word which

Re: hi..

2004-01-02 Thread Rob Dixon
Ajey Kulkarni wrote: > > happy new year to all,.. > i've a qn.,:) > i want to 'insert' an escape character for every '[' & ']' > i will find in a variable.. > Suppose $temp has a word which might contain [ and/or ]. > Eg: if $temp has hello] > the modified temp should have hello\] > > if $value ha

Re: Hi & a question

2003-12-31 Thread drieux
On Dec 31, 2003, at 8:28 AM, John McKown wrote: For only 4 variables, I thought it was overkill to have an "ini" file. However as I continue to mess around with my code, I'm adding more and more externalized variables. Use of an "ini" is becoming more appealing. john, for what it is worth - cf:

Re: Hi & a question

2003-12-31 Thread John McKown
Daniel, For only 4 variables, I thought it was overkill to have an "ini" file. However as I continue to mess around with my code, I'm adding more and more externalized variables. Use of an "ini" is becoming more appealing. Thanks for your thoughts! On Sun, 28 Dec 2003, Daniel Staal wrote: >

Re: Hi & a question

2003-12-29 Thread drieux
On Dec 26, 2003, at 9:37 AM, John McKown wrote: [..] E.g. export DIR1=... export DIR2=... export IPADDR=... export IPPORT=... perl-script.perl or perl-script.perl DIR1 DIR2 IPADDR IPPORT [..] Thanks for the seasonal ranting option:

Re: Hi & a question

2003-12-28 Thread Daniel Staal
--As off Friday, December 26, 2003 3:16 PM -0600, John McKown is alleged to have said: Actually, I considered an "ini" or "cfg" file, but rejected it. I was wanting something more "standalone" in this case. First, it seemed a bit much for only 4 parms. Second, I didn't want to maintain a separa

Re: Hi & a question

2003-12-26 Thread John McKown
On Fri, 26 Dec 2003, R. Joseph Newton wrote: > > Hi John, > > I'd suggest that both approaches can be somewhat lacking in portability. The > command line is something of a kludge, IMHO, as it still depends largely on > users typing in the correct parameters. I think ini files would be portable

Re: Hi & a question

2003-12-26 Thread R. Joseph Newton
John McKown wrote: > I'm new here and a very novice Perl coder. And I have a question, of > course . > > Is it more "Perl-like" to get information from the shell via UNIX > Environment Variables or via the command line? For an example, I have > writing a Perl program which reacts to messages sent

Re: Hi & a question

2003-12-26 Thread R. Joseph Newton
Pandey Rajeev-A19514 wrote: > hey !!! > > do you celebrate only perl even in the christmas vacation !!! > Take a break !! Have a kit kat christmas cake. > Merry Christmas to this perl group > > Rajeev I might remind you--not everyone even celbrates that particular holiday. I join my family

RE: Hi & a question

2003-12-26 Thread Harvey, Bruce T.
I'm not a 'perl' pro, but I am a pro at using different shells, programs and so on in different environments. It depends on the environment in which you're running. For example, running on some type of *NIX at a command line, you might very well want command line options so that people and scri

RE: Hi & a question

2003-12-26 Thread Steven Kreuzer
Why not just make DIR1, DIR2, IPADDR AND IPPORT global variables within the script, rather then requiring user to set env variables, which can become a pain in the ass. Your best bet would be to set them to some default variable, and then if the user needs to, she can override the default values b

RE: Hi & a question

2003-12-26 Thread Pandey Rajeev-A19514
hey !!! do you celebrate only perl even in the christmas vacation !!! Take a break !! Have a kit kat christmas cake. Merry Christmas to this perl group Rajeev -Original Message- From: John McKown [mailto:[EMAIL PROTECTED] Sent: Friday, December 26, 2003 11:08 PM To: Perl Beginners

RE: Hi

2003-08-21 Thread Dan Muey
> am having a problem with my perl scripts in that the news > items are not being displayed when i execute the wed pages on Where do these "news items" come from? > which perl is expected to display the news titles. i have How does perl get the "news titles" and how are you having it "display

Re: Hi

2003-06-24 Thread John W. Krahn
Gayatri wrote: > > Thanks I got a solution. Please reply in the original thread that you started. > I was doing a silly mistake. > chdir I was executing thro' system command like cd. When you do that system creates a new process and any changes you make in that process do not affect your curren

RE: hi, this is just a test

2003-06-09 Thread Dan Muey
> hi everybody, Howdy! > I'm new to the list. I'm testing now. Cool, welcome. > have fun! We will, you too. > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: hi, this is just a test

2003-06-07 Thread Beau E. Cox
- Original Message - From: "andrea serione" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 4:56 AM Subject: hi, this is just a test > hi everybody, > I'm new to the list. I'm testing now. > have fun! > Hi - Welcome! - Aloha => Beau; -- To unsubscribe, e-ma

RE: Hi guys! How do I export a bash variable into bash environmen t?

2003-02-12 Thread Bob Showalter
Chris Ward wrote: > Very simple i would think, like "system('export > CVSROOT=/path/to/repository')" Or so i would I guess; what i just > wrote does not work for me. > > I'm needing this for a CVS repository selection script. Does this > make sense? All of the repositories are on a single server.

RE: Hi guys! How do I export a bash variable into bash environment?

2003-02-12 Thread wiggins
On Wed, 12 Feb 2003 13:08:41 -0600, Chris Ward <[EMAIL PROTECTED]> wrote: > Very simple i would think, like "system('export > CVSROOT=/path/to/repository')" Or so i would I guess; what i just wrote does > not work for me. > > I'm needing this f

Re: Hi all, question about caracter detection

2002-11-22 Thread Tanton Gibbs
MAIL PROTECTED]> Sent: Friday, November 22, 2002 3:34 PM Subject: RE: Hi all, question about caracter detection > Hi All, > > thankx for the help (Sudarshan Raghavan and Beau E. > Cox), i have found a generic solution > > here is the sample script... >

RE: Hi all, question about caracter detection

2002-11-22 Thread Miguel Angelo
Hi All, thankx for the help (Sudarshan Raghavan and Beau E. Cox), i have found a generic solution here is the sample script... # #!/usr/bin/perl -wT ## # modules ## use strict ; ##

RE: Hi all, question about caracter detection

2002-11-18 Thread Sudarshan Raghavan
On Mon, 18 Nov 2002, Beau E. Cox wrote: > Hi - > > This will 'strip' all but a-zA-Z0-9: > > #!/usr/bin/perl > > use strict; > use warnings; > > my $STRING = "kjsh234Sd\nki"; > > $STRING =~ s/[^a-zA-Z0-9]//sg; > > print "$STRING\n"; > > the ~ makes the character class negat

RE: Hi all, question about caracter detection

2002-11-18 Thread Beau E. Cox
Hi - This will 'strip' all but a-zA-Z0-9: #!/usr/bin/perl use strict; use warnings; my $STRING = "kjsh234Sd\nki"; $STRING =~ s/[^a-zA-Z0-9]//sg; print "$STRING\n"; the ~ makes the character class negative, the s makes the regex examine new lines, and g means global.

RE: hi,everyone,help me

2002-11-04 Thread Bob Showalter
> -Original Message- > From: alex chen [mailto:cg@;gddc.com.cn] > Sent: Sunday, November 03, 2002 6:05 AM > To: [EMAIL PROTECTED] > Subject: hi,everyone,help me > > > hi,all! >today,i have write such a program > > #!usr/local/bin/perl5.6.1 > #middle machine version 1.0 > > use IO::S

Re: HI Can u help me

2002-10-07 Thread david
[EMAIL PROTECTED] wrote: > Hello Is there a function to test if a given.jpg file is a valid jpg file? > thanks if you don't want to install/load another module, try: #!/usr/bin/perl -w use strict; if(is_jpeg('your file')){ print "it's a valie jpeg\n"; }else{ print "doesn't look

  1   2   >