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