Need help for interview

2011-07-08 Thread pawan kumar
Hi, I am BE(CSE) fresher.I got a call for interview and openings is in perl.I know the basics of perl.Please let me know what i have to prepare for interview.Any link for frequently asked scripts?? -- K.V. PAWAN KUMAR

Re: Need help for interview

2011-07-08 Thread Rob Coops
On Fri, Jul 8, 2011 at 11:53 AM, pawan kumar wrote: > Hi, > I am BE(CSE) fresher.I got a call for interview and openings is in perl.I > know the basics of perl.Please let me know what i have to prepare for > interview.Any link for frequently asked scripts?? > -- > K.V. PAWAN KUMAR > Good one...

Re: Need help for interview

2011-07-08 Thread Natal Ngétal
2011/7/8 pawan kumar : > I  am BE(CSE) fresher.I got a call for interview and openings is in perl.I > know the basics  of perl.Please let me know what i have to prepare for > interview.Any link for frequently asked scripts?? It's not so easy to reply. It depends of the company and also a lot of poi

Help on Net::Telnet perl module

2011-07-08 Thread Irfan Sayed
hi, i am using Net::Telnet module to connect to remote hosts i able to to successfully connect to remote host and run the "ls" command but the issue is , the output of command is not getting printed to scalar variable use Net::Telnet (); $t = new Net::Telnet (Timeout => 10, Prompt => '/bash\

Choosing between look up tables

2011-07-08 Thread Steven Surgnier
Hi everyone, I could use both suggestions and answers on the follow topic. The problem I'm trying to solve is quite simple: I must parse through a large csv file. A field within the csv will signify which product type the included data is associated with. Once the product type is known then a f

Re: Help on Net::Telnet perl module

2011-07-08 Thread Jim Gibson
On 7/8/11 Fri Jul 8, 2011 5:59 AM, "Irfan Sayed" scribbled: > hi, > > i am using Net::Telnet module to connect to remote hosts > i able to to successfully connect to remote host and run the "ls" command > but the issue is , the output of command is not getting printed to scalar > variable >

Re: Help on Net::Telnet perl module

2011-07-08 Thread Irfan Sayed
i have written my own code and i am printing dump_log and input_log as well in the log , it says , everything is successful, i am getting the output of "ls" command as well.in the log but on the console it is not printing the output plz suggest regards irfan __

Re: Help on Net::Telnet perl module

2011-07-08 Thread Jim Gibson
On 7/8/11 Fri Jul 8, 2011 12:43 PM, "Irfan Sayed" scribbled: > here is the actual code > > > use Net::Telnet; > $telnet = new Net::Telnet ( Timeout=>10, Errmode=>'die'); > $telnet->open('10.216.119.53'); > $telnet->waitfor('/login: $/i'); > $telnet->print('abc'); > $telnet->waitfor('/password

understanding adding numeric accumulator

2011-07-08 Thread J. S. John
Hi all, I'm teaching myself perl. Right now, I am stuck with this script. I don't understand how it works. I know what it does and how to do it by hand. $n = 1; while ($n < 10) { $sum += $n; $n += 2; } print "The sum is $sum.\n" I know $sum is initially 0 (undef). I see that $sum becomes

Re: understanding adding numeric accumulator

2011-07-08 Thread Jim Gibson
On 7/8/11 Fri Jul 8, 2011 4:33 PM, "J. S. John" scribbled: > Hi all, > I'm teaching myself perl. Right now, I am stuck with this script. I > don't understand how it works. I know what it does and how to do it by > hand. > > $n = 1; > while ($n < 10) { > $sum += $n; > $n += 2; > } > pri

Re: understanding adding numeric accumulator

2011-07-08 Thread Rob Coops
On Sat, Jul 9, 2011 at 1:33 AM, J. S. John wrote: > Hi all, > I'm teaching myself perl. Right now, I am stuck with this script. I > don't understand how it works. I know what it does and how to do it by > hand. > > $n = 1; > while ($n < 10) { >$sum += $n; >$n += 2; > } > print "The sum is

Re: understanding adding numeric accumulator

2011-07-08 Thread Chris Charley
""J. S. John"" wrote in message news:caahf0rkhyip680xk9kz+3q4uvw79s2dh8denulob_2gxlyf...@mail.gmail.com... Hi all, I'm teaching myself perl. Right now, I am stuck with this script. I don't understand how it works. I know what it does and how to do it by hand. $n = 1; while ($n < 10) { $s

Creating letter combination generator

2011-07-08 Thread Robert
I have currently wrote a simple script to attempt to create a list of every letter combination this is a rough outline of what I want my program to do . . . A B C ... AA AB AC I used perl a bit for a high school project several years ago so I'm not that good at it =( Never the less I have extens

Re: Creating letter combination generator

2011-07-08 Thread Jim Gibson
At 6:26 PM -0700 7/8/11, Robert wrote: I have currently wrote a simple script to attempt to create a list of every letter combination this is a rough outline of what I want my program to do . . . A B C ... AA AB AC I used perl a bit for a high school project several years ago so I'm not that go