perl interview questions

2011-04-20 Thread Jyoti
Hello All, Please give me any link or any tutorial which will be helpful for preparation of PERL interview. Thanks in advance. Jyoti

Time Subroutine

2010-10-26 Thread Jyoti
Hello Everyone, Can anyone tell me about the subroutine that returns current time please. Is there much difference if we output current time or uptime ? Many Thanks, Jyo

Tags Help

2010-10-22 Thread Jyoti
Hello Everyone, My script contains: I do get all the tags one below the other using perl below code: while ($flag){ my $start = index($temp_contents, '') + length(''); if ($start >0){ my $temp_message = substr($temp_contents, $start, ($end-$start))

Regular Expresion - Urgent

2010-10-20 Thread Jyoti
Hi, Can anyone please help me to parse WSDL file using Regular expression. The file starts like this: and ends with How to write regualar expression for the above please. Thanks, Jyo

String Handlers

2010-10-20 Thread Jyoti
Hello Everyone, Can anyone tell me how to use string handlers in perl (join function). I tried it to get a list of words. But i actually want to combine all the similar tags from one file and get it one below the other in a new file. For example : My file looks like this now: (Combines 2-3 files)

perl for systemadministration

2010-10-20 Thread Jyoti
Hi Folk, I need your help. Please tell me a good book for perl for system administration.

Subroutine

2010-10-11 Thread Jyoti
Hello, Can anyone help me out to call all subroutines from different .pm files in a specific directory please ? Many Thanks, Jyoti

Calling all methods (URGENT)

2010-10-11 Thread Jyoti
) from each file. Can anyone help me with this please ? Many Thanks, Jyoti

Perl, WSDL, SOAP web services

2010-10-05 Thread Jyoti
Hello everyone, Does anyone of you know how to generate WSDL files using Perl script ? I want to generate WSDL files which I done with Pod::WSDl module. But it generates for only one method at a time. I want to execute two or more methods but it should all be displayed in one WSDL file. Please he

Re: Urgent Request

2010-10-05 Thread Jyoti
, Jyo On Tue, Oct 5, 2010 at 3:03 PM, Jyoti wrote: > Ok got it now :) > > Thank You all :) > > Cheers, > Jyoti > > 2010/10/5 Jeff Peng > >> > Sorry doesnt work. >> >> > >> > Error is : >> > >> > Can't locate object method "perl" in 'filename'... >> > >> >> what's the content of the script? >> >> >> >> >

Re: Urgent Request

2010-10-05 Thread Jyoti
Ok got it now :) Thank You all :) Cheers, Jyoti 2010/10/5 Jeff Peng > > Sorry doesnt work. > > > > Error is : > > > > Can't locate object method "perl" in 'filename'... > > > > what's the content of the script? > > > >

Re: Urgent Request

2010-10-05 Thread Jyoti
Sorry doesnt work. Error is : Can't locate object method "perl" in 'filename'... Also 2010/10/5 Jeff Peng > > Hello, > > > > Can anyone please tell me how to save output (what we get after running a > > perl script) as an external file? > > > > run it under a unix shell? > try: > > perl a.pl

Urgent Request

2010-10-05 Thread Jyoti
Hello, Can anyone please tell me how to save output (what we get after running a perl script) as an external file? Many Thanks, Jyoti

SOAP and WSDL

2010-09-16 Thread Jyoti
Hello, Can anyone help me generate WSDL files via a Perl code. I am learning to develop a web service using SOAP. I need to write a code, which generates WSDL file structure. Something like sub WSDLTypes { } sub WSDLMessages { } sub WSDLPortType { } sub WSDLBinding{ } Many Thanks, Jyo

script for shutdown remote machine

2010-09-03 Thread Jyoti
Dear All, Give me name of CPAN modules to write down perl script for shudown remote machines.

Re: Imp

2010-08-30 Thread Jyoti
Yep in CPAN ! Not Databases. Thanks. Jyo On Mon, Aug 30, 2010 at 6:16 PM, Shawn Rynearson wrote: > To get queries and responses in CPAN? Or are you talking about MySQL? If > your talking about SQL, use DBI. http://dbi.perl.org/ > > On Aug 30, 2010, at 3:34 AM, Jyoti wrote

Re: Imp

2010-08-30 Thread Jyoti
queries (e.g: HTTP queries, SQL queries, etc.) and get responses? On Mon, Aug 30, 2010 at 11:00 AM, Ramprasad Prasad wrote: > > > On Mon, Aug 30, 2010 at 3:04 PM, Jyoti wrote: > >> Hello everyone, >> >> Can anyone please guide me with specific CPAN perl libraries/m

Imp

2010-08-30 Thread Jyoti
Hello everyone, Can anyone please guide me with specific CPAN perl libraries/modules, to send queries and get responses. I tried looking in CPAN,but I am still a learner, so not able to get properly. Can anyone reply me for the same please? Many Thanks. Jyoti

error while installing win32::Registry module

2010-03-29 Thread Jyoti
Dear All, I was trying to run my script getip.pl . But when i run this script it gives following error C:\strawberry\perl\Test>perl GETIP.pl Can't locate Win32/Registry.pm in @INC (@INC contains: C:/strawberry/perl/lib C: /strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at GETIP.pl line

Re: module installation

2010-03-09 Thread Jyoti
;C:\WINDOWS\system32\cmd.exe' : return code '0xff' Stop. On Wed, Mar 10, 2010 at 10:57 AM, Sisyphus wrote: > > - Original Message - From: "Jyoti" > To: > Sent: Wednesday, March 10, 2010 3:46 PM > Subject: module installation > > > > i wan

module installation

2010-03-09 Thread Jyoti
i want to install libwin32-0.191 on my windows XP... I downloaded it from CPAN .. when I did perl Makefile.pl no any err ... then nmake Makefile and then nmake test.. it showing fatal error...

Server Help

2009-11-04 Thread Jyoti
Heya, I have a cgi script which works fine!! It basically asks a user to enter e-value and the user can enter then its accepted. But this script only works in my linux terminal. I want to allow users to same thing ( like enter text for same question ) on my local server. If i run this same script

Fasta format !!

2009-10-29 Thread Jyoti
Hello All, I just want help to open and read a file. I have to make a script so that it should open and read a file which is in fasta format. I have done something with subroutine but getting some errors. May be everyone do not know the fasta format Fasta format have peculiar feature: its star

File Help

2009-10-21 Thread Jyoti
we log off from system, the output file goes off as its in temporary folder. So, i need a code in *perl or cgi* so that it should open, save and download file frm temporary folder to any of my new directories created in my home folder. Thanks Kind Regards, Jyoti

Database Help

2009-10-09 Thread Jyoti
Hello All, I am able to connect to postgreSQL database via my server. I used PHP to connect .. now i wanna know how to create databases via php and access queries so that i get the results on my server. I have to make php scripts. But where should I make .. in already existing script where it conn

Re: Server HELP-urgent

2009-10-06 Thread Jyoti
hints for code or smthing like that. Thanks and Regards, Jyo On Wed, Oct 7, 2009 at 3:59 AM, Raymond Wan wrote: > > Hi Jyoti, > > > Jyoti wrote: > >> How to upload any file and get results for that uploaded file through a >> redirected URL, in perl/cgi >&

Server HELP-urgent

2009-10-06 Thread Jyoti
to link a URL when I click a button OR directly get the results on my page ( as same as that URL). Can anyone please help me with some few lines of code with perl or CGI This will be really very useful. Thanks in Advance. Kind Regards, Jyoti

BLAST HELP

2009-10-06 Thread Jyoti
Thanks for your help Dave. Yes that was Javascript.. Just as m a beginner, I thot we can convert javascipts to cgi scripts.!!! Am I wrong? n for Blast, I have downloaded the latest netblast. Can you help me furthur. There are instructions for searching protein sequences. But I should make a scrip

BLAST HELP

2009-10-05 Thread Jyoti
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

Error HELP PLZ !!!

2009-10-05 Thread Jyoti
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;

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

Fwd: HI

2009-09-29 Thread 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. line 18 is as follows: print $q->header("text/html"),

HI

2009-09-29 Thread Jyoti
Hello, Can anyone help me to explain how to call subroutines. Also if possible, explain with example for running blast searches. Many Thanks.

Re: Help Please

2009-09-10 Thread Jyoti
Thanks All... Going through documentation as well as short explanation was useful.. I got it [?] Cheers!!! <<330.png>>

Help Please

2009-09-10 Thread Jyoti
Can someone explain me what these symbols mean in regular expression: my $trim = sub {local($_)=shift; $$_ =~ s/^\s*//; $$_ =~ s/\s*$//;}; Thanks.