Re: perl

2010-10-05 Thread Alan Haggai Alavi
On 4 October 2010 09:49, sheikh numan iqbal wrote: > i want to login and need help on perl... Hi Numan, Please let us know where you need help with. Consider expanding the question. Regards, Alan Haggai Alavi. -- The difference makes the difference -- To unsubscribe, e-mail: beginners-unsub

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 Jeff Peng
> The method mentioned is to get the output while u are running the perl > files > at the shell prompt not in the code.. > if u want to save the log details after the perl files are processed then > use this function > > sub file_write { > $_file = shift; > $_data = shift; > open FILE,"

Re: Urgent Request

2010-10-05 Thread Jyoti
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 help! Many Thanks,

Re: Urgent Request

2010-10-05 Thread Jeff Peng
> You could use filehandle to save the output outcome. > > use strict; > open OUT, ">outfile.txt"; ## at the beggining > > and for instance: > print OUT $seq->id(),"\n"; > or use Perl's "select". but that requires the OP to modify the source code, which is maybe not what he/she want. Regards. -

Re: Urgent Request

2010-10-05 Thread Chaitanya Yanamadala
The method mentioned is to get the output while u are running the perl files at the shell prompt not in the code.. if u want to save the log details after the perl files are processed then use this function sub file_write { $_file = shift; $_data = shift; open FILE,">$_file"; print

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 Jordi Durban
You could use filehandle to save the output outcome. use strict; open OUT, ">outfile.txt"; ## at the beggining and for instance: print OUT $seq->id(),"\n"; Thus, outfile.txt contains $seq->id(), close OUT; at the end. 2010/10/5 Jeff Peng > > Hello, > > > > Can anyone please tell me how

Re: Urgent Request

2010-10-05 Thread Jeff Peng
> Sorry doesnt work. > > Error is : > > Can't locate object method "perl" in 'filename'... > what's the content of the script? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

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

Re: Urgent Request

2010-10-05 Thread 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 > a.txt 2>&1 save all the output of a.pl to a.txt. 2>&1 means to capture the script's error output also. -- To unsubscribe, e

Re: Urgent Request

2010-10-05 Thread Chaitanya Yanamadala
perl script.pl > outfile.log Chaitanya On Tue, Oct 5, 2010 at 7:14 PM, Jyoti wrote: > 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 >

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

New note on page5notebook

2010-10-05 Thread marcos rebelo
Hi all I did one more note at: http://perl5notebook.oleber.com/objects/smart-selects-with-dynamic-response-to-undefiend-method-calls One example of the use of AUTOLOAD, to do some SQL dinamically. Comments are well come Best Regards Marcos Rebelo -- Marcos Rebelo http://oleber.freehostia.com

Re: perl vs Python

2010-10-05 Thread Shlomi Fish
On Tuesday 05 October 2010 12:25:51 Agnello George wrote: > ( i did'nt know where to post this; perl forum or python forum ) > > I am a bit confused, i have been learning perl last 1.5 yrs .. then > suddenly in my new company they use python to do all their scripting work , > so i would have to

Re: perl or python

2010-10-05 Thread Shlomi Fish
On Tuesday 05 October 2010 12:55:39 Kaushal Shriyan wrote: > Hi > > Is it better to learn Perl or Python since i can manage only writing > simple bash shell scripts. > > Please suggest/guide. > > Thanks and Regards > Well, you should learn both in time, but I suggest learning Perl (5) first

Re: perl or python

2010-10-05 Thread Jeff Peng
> Hi > > Is it better to learn Perl or Python since i can manage only writing > simple bash shell scripts. > > Please suggest/guide. > Since you are coming from shell, Perl is better for the beginning. from wikipedia (http://en.wikipedia.org/wiki/Perl): Perl borrows features from other programmi

perl or python

2010-10-05 Thread Kaushal Shriyan
Hi Is it better to learn Perl or Python since i can manage only writing simple bash shell scripts. Please suggest/guide. Thanks and Regards Kaushal -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: perl vs Python

2010-10-05 Thread Jeff Peng
> ( i did'nt know where to post this; perl forum or python forum ) > > I am a bit confused, i have been learning perl last 1.5 yrs .. then > suddenly in my new company they use python to do all their scripting work > , > so i would have to follow protocol :) and learn python > > So now just wan

perl vs Python

2010-10-05 Thread Agnello George
( i did'nt know where to post this; perl forum or python forum ) I am a bit confused, i have been learning perl last 1.5 yrs .. then suddenly in my new company they use python to do all their scripting work , so i would have to follow protocol :) and learn python So now just wanted to know

Re: perl

2010-10-05 Thread Shlomi Fish
On Tuesday 05 October 2010 10:55:13 Jeff Peng wrote: > >> On Mon, Oct 4, 2010 at 9:49 AM, sheikh numan iqbal >> > >> >wrote: > >> > hi, > >> > > >> > i want to login and need help on perl... > > In some nations "login" means "step into the door". > So for learning perl you may go: > > http://l

Re: perl

2010-10-05 Thread Jeff Peng
>> On Mon, Oct 4, 2010 at 9:49 AM, sheikh numan iqbal > >wrote: >> >> > hi, >> > >> > i want to login and need help on perl... >> > In some nations "login" means "step into the door". So for learning perl you may go: http://learn.perl.org/ Good luck. -- To unsubscribe, e-mail: beginners-uns

Re: perl

2010-10-05 Thread pawan kumar
Hi Sheikh, You will not have any login(usr name/pwd).Just post your problems/comments to beginners@perl.org trough your mail.Folks with get back to you. Thanks for the time. On Tue, Oct 5, 2010 at 9:32 AM, Parag Kalra wrote: > Where do you want to login? I believe you are alrea