Re: Word boundaries

2010-07-21 Thread Chandan Kumar
Hi ,   Im still confused of using word boundaries. After all the help given by everyone here ,I have tried other example to get to know what exactly word boundaries mean.   I'm not trying to extract any particular character ,just playing with word boundries to understand more on it.   ex: $_="#!

Re: Example code for storing picture in MySQL DB

2010-07-21 Thread Jeff Pang
2010/7/22 Mimi Cafe : > Anyone worked on a project where they have stored pictures in MySQL db from > Perl program?  I need to store pictures in MYSQL and my initial thought was > a normal insert statement. Nothing much about Perl, but the stuff related to Mysql itself. A reference: http://forum

Example code for storing picture in MySQL DB

2010-07-21 Thread Mimi Cafe
Anyone worked on a project where they have stored pictures in MySQL db from Perl program? I need to store pictures in MYSQL and my initial thought was a normal insert statement. Now I did a bit of search and people are making it completed out there. I have not tried it, but I was thinking of grabb

Re: Perl 6 soon?

2010-07-21 Thread Chas. Owens
On Wed, Jul 21, 2010 at 21:15, Jeff Pang wrote: > I saw the words from a people's blog: > > After only a short ten year wait, a Perl 6 implementation is scheduled > for release this month. Rakudo * (aka Rakudo Star) will be inaugurated > on July 29th, 2010. > > Does this mean Perl 6 will be first

Perl 6 soon?

2010-07-21 Thread Jeff Pang
I saw the words from a people's blog: After only a short ten year wait, a Perl 6 implementation is scheduled for release this month. Rakudo * (aka Rakudo Star) will be inaugurated on July 29th, 2010. Does this mean Perl 6 will be first released soon? Regards. -- Jeff Pang http://home.arcor.de/

Re: META - Bounces from the list

2010-07-21 Thread Jeff Pang
A basic concept: For people the address of f...@gmail.com and f...@googlemail.com are the same one. But for the list admin program they are really two different ones. Also people may know that something like f...@aol.com and f...@aim.com, b...@netzero.com and b...@netzero.net are the alias to ea

Re: Real newbie question

2010-07-21 Thread Uri Guttman
> "JG" == Jim Gibson writes: JG> On 7/21/10 Wed Jul 21, 2010 11:51 AM, "Vaughan Williams" JG> scribbled: >> Hi all, >> >> I'm hope you all could help me with a very simple question. >> >> I have a multi line text file laid out as below. >> >> 10.10.10.45 bobs >> 10.

Re: Real newbie question

2010-07-21 Thread Uri Guttman
> "M" == Matt writes: M> Perl 1: Introduction to Perl M> http://www.oreillyschool.com/courses/perl1/ M> Online Course, Pricy but very good. i will second that as i know the author very well. level 2 will be out pretty soon. there will be 4 levels at least. these are not kiddie tutoria

Re: install patch to module Text::LevenshteinXS

2010-07-21 Thread Brandon McCaig
On Tue, Jul 20, 2010 at 6:14 AM, Frank Müller wrote: > There one can download a patch for this module. How do I install this > patch? I found out that using linux I need to make use of the command > tool "patch". But how and where? The module files have been stored by > installation process in 2 d

Re: Real newbie question

2010-07-21 Thread Shlomi Fish
On Wednesday 21 Jul 2010 22:16:38 Vaughan Williams wrote: > Hi Uri, Jim, > > Thanks for the help, it is a very small file some 8kB in size. > > Jim's supplied command worked perfectly, although I really do not > understand it being a 1 day old perl "want-a-be" LOL > > I guess have allot of learn

Re: Real newbie question

2010-07-21 Thread Matt
> I guess have allot of learning to do, can anyone suggest a good starting > point books or online courses for true newbies. Learning Perl, Fifth Edition http://oreilly.com/catalog/9780596520113/ Best beginning Perl book. Perl Cookbook is great for examples as well. Perl 1: Introduction to Perl

Re: Some explanation please -- iterating thru command line arguments

2010-07-21 Thread John W. Krahn
newbie01 perl wrote: Hi all especially Perl teachers if anyone is ... :-) I just want to know if someone can provide some explanation on how does the argument iterator sub-routine below work. The Perl script is called from a UNIX Korn script as below: mail_smtp.pl -r ${MAILFROM} -s "$subject_li

Re: Real newbie question

2010-07-21 Thread Vaughan Williams
Hi Uri, Jim, Thanks for the help, it is a very small file some 8kB in size. Jim's supplied command worked perfectly, although I really do not understand it being a 1 day old perl "want-a-be" LOL I guess have allot of learning to do, can anyone suggest a good starting point books or online course

Re: Real newbie question

2010-07-21 Thread Uri Guttman
> "VW" == Vaughan Williams writes: VW> Hi all, VW> I'm hope you all could help me with a very simple question. VW> I have a multi line text file laid out as below. VW> 10.10.10.45 bobs VW> 10.10.10.34 jims VW> 10.10.10.27 jacks VW> . VW> . VW> I would like to that

Re: Real newbie question

2010-07-21 Thread Jim Gibson
On 7/21/10 Wed Jul 21, 2010 11:51 AM, "Vaughan Williams" scribbled: > Hi all, > > I'm hope you all could help me with a very simple question. > > I have a multi line text file laid out as below. > > 10.10.10.45 bobs > 10.10.10.34 jims > 10.10.10.27 jacks > . > . > > I would like to

Re: Some explanation please -- iterating thru command line arguments

2010-07-21 Thread Jim Gibson
On 7/21/10 Wed Jul 21, 2010 10:17 AM, "newbie01 perl" scribbled: > Hi all especially Perl teachers if anyone is ... :-) > > I just want to know if someone can provide some explanation on how does the > argument iterator sub-routine below work. The Perl script is called from a > UNIX Korn scrip

Real newbie question

2010-07-21 Thread Vaughan Williams
Hi all, I'm hope you all could help me with a very simple question. I have a multi line text file laid out as below. 10.10.10.45 bobs 10.10.10.34 jims 10.10.10.27 jacks . . I would like to that the 10.10.10.??? and move it to the end of the same line so the output will look like. bobs

Some explanation please -- iterating thru command line arguments

2010-07-21 Thread newbie01 perl
Hi all especially Perl teachers if anyone is ... :-) I just want to know if someone can provide some explanation on how does the argument iterator sub-routine below work. The Perl script is called from a UNIX Korn script as below: mail_smtp.pl -r ${MAILFROM} -s "$subject_line TEST EMAIL" supportm

RE: Calling Exit from within a subroutine

2010-07-21 Thread Mimi Cafe
Cool, I have changed my program to exit at the end of the main program code. Thanks => -Original Message- => From: Robert Wohlfarth [mailto:rbwohlfa...@gmail.com] => Sent: 21 July 2010 13:14 => To: Perl Beginners => Subject: Re: Calling Exit from within a subroutine => => On Wed, Jul 21

Re: doubts in using net::telnet in perl

2010-07-21 Thread Chas. Owens
On Wed, Jul 21, 2010 at 10:41, Sooraj S wrote: > Hi Chas Owens, > > Thanks for your reply. I tried as you suggested. It prints the output > in the run time but the output is unformatted. snip > > Is there any way to avoid the address values that gets attached to the > actual output.. snip Hmm, it

Re: doubts in using net::telnet in perl

2010-07-21 Thread Sooraj S
Hi Chas Owens, Thanks for your reply. I tried as you suggested. It prints the output in the run time but the output is unformatted. < 0x0: 77 6f 72 6b 2f 61 74 6c 61 6e 74 69 63 5f 6e 6f home/ shell_script < 0x00010: 72 5f 72 65 6c 65 61 73 65 2e 63 73 68 5f 74 65 _newlone.csh_te < 0x0

META - Bounces from the list

2010-07-21 Thread Dermot
Hi All, Is it just me or have others received bounces from replies to this list recently? I have had 3 in the last 24 hours that look like this: Hi. This is the qmail-send program at la.mx.develooper.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a perm

Re: doubts in using net::telnet in perl

2010-07-21 Thread Chas. Owens
On Tue, Jul 20, 2010 at 10:57, Sooraj S wrote: > Hi, > > I am using Net::Telnet module to login to a remote machine and to > perform a series of steps. In my script i am calling a shell script > which does some operations and takes almost 3 min to complete. I want > to redirect the output of that

Re: Calling Exit from within a subroutine

2010-07-21 Thread Chas. Owens
On Wed, Jul 21, 2010 at 07:18, Mimi Cafe wrote: > Hi Rob > > I take care of everything that needs (execution errors) to be done within my > sub. Perhaps this may help explain what I have: > > A the beginning of my program I test to see what needs to be done, and if a > conditional evaluates to t

Re: Calling Exit from within a subroutine

2010-07-21 Thread Robert Wohlfarth
On Wed, Jul 21, 2010 at 6:18 AM, Mimi Cafe wrote: > If my program will continue to evaluate the rest of the program, then is it > efficient to call exit one time at the end of the program or call exit as > the last line of each subroutine to ensure the program ends there? > "Efficient" doesn't o

RE: Calling Exit from within a subroutine

2010-07-21 Thread Mimi Cafe
Hi Rob I take care of everything that needs (execution errors) to be done within my sub. Perhaps this may help explain what I have: A the beginning of my program I test to see what needs to be done, and if a conditional evaluates to true, then a sub is called to work and that is it. The progra

Re: Calling Exit from within a subroutine

2010-07-21 Thread Rob Coops
On Wed, Jul 21, 2010 at 5:00 AM, Babale Fongo wrote: > I call several subroutines within my program. The program is design in a > way that I don't expect my subroutines to return to the caller but to exit > once they have executed. > > At the moment I don't have exit or return at the end of my s

Calling Exit from within a subroutine

2010-07-21 Thread Babale Fongo
I call several subroutines within my program. The program is design in a way that I don't expect my subroutines to return to the caller but to exit once they have executed. At the moment I don't have exit or return at the end of my subroutines. mysub(); # will the sub return here? If yes wha

RE: Word boundaries

2010-07-21 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: John W. Krahn [mailto:jwkr...@shaw.ca] >Sent: Tuesday, July 20, 2010 15:06 >To: Perl Beginners >Subject: Re: Word boundaries > >Rob Dixon wrote: >> On 20/07/2010 16:22, Chandan Kumar wrote: >>> >>> Small confusion about word boundaries. word boundaries matches >>>

doubts in using net::telnet in perl

2010-07-21 Thread Sooraj S
Hi, I am using Net::Telnet module to login to a remote machine and to perform a series of steps. In my script i am calling a shell script which does some operations and takes almost 3 min to complete. I want to redirect the output of that script to the console in run time, when it is running. Is t