Re: [Perl-unix-users] How to start GUI debugger on linux for ActiveState perl dev kit

2004-10-29 Thread Craig B. Nakata
Cai, Lixin (L.) wrote: I have installed ActiveState perl Dev Kit and licenses. I do not know what command can make me open GUI debugger on linux. Like on Win32, if you run "perl -d test.pl", it open GUI debugger for you. Does anyone know it? Thanks a lot inadvance! Lixin ___

RE: [Perl-unix-users] Pass argument to a method

2004-10-29 Thread Cai, Lixin \(L.\)
Thanks to all, It works! Lixin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of P N Sent: Friday, October 29, 2004 3:39 PM To: [EMAIL PROTECTED] Subject: Re: [Perl-unix-users] Pass argument to a method Hi Lixin, To make it work, instead of using "$ARGV

Re: [Perl-unix-users] Pass argument to a method

2004-10-29 Thread P N
Hi Lixin, To make it work, instead of using "$ARGV[0]" You may want to try this: my $command_line = shift(@_); Phil --- "Cai, Lixin (L.)" <[EMAIL PROTECTED]> wrote: > Now I am meeting the problem: my codes is like: > > ** > $ldapsearch="/usr/bi

Re: [Perl-unix-users] Pass argument to a method

2004-10-29 Thread Olivier Renard
Hi Cai, You try to get the first command line argument with $ARGV[0] contains in array @ARGV. I think for your function you should use "@_" or "shift" to get the function passed arguments. my ($command_line) = @_; # precise more variable for several arguments or my $command_line = shift; Olivier

[Perl-unix-users] Pass argument to a method

2004-10-29 Thread Cai, Lixin \(L.\)
Now I am meeting the problem: my codes is like: ** $ldapsearch="/usr/bin/ldapsearch"; my $command = "$ldapsearch -x -LLL -h \"cds2.ford.com\" -b \"ou=People, o=Ford,c=US\" \"uid=$login\" uid fordUNIXid"; print "print A -- $command";

RE: [Perl-unix-users] How can I redirect STDERR to a file?

2004-10-29 Thread Cai, Lixin \(L.\)
Great help from you. It is working!!! open (CHILD1, "$command 2>&1 |"); Thanks a lot! Lixin -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 11:18 AM To: Cai, Lixin (L.) Cc: [EMAIL PROTECTED] Subject: Re: [Perl-unix-users] How can I redire

RE: [Perl-unix-users] How can I redirect STDERR to a file?

2004-10-29 Thread Cai, Lixin \(L.\)
I am thinking I did not describe the problem clear, the following is my code -- test.pl ### #!/usr/bin/perl my $ldapsearch = "/usr/bin/ldapsearch"; my $command = "$ldapsearch -x -LLL -h \"cds2.ford.com\" -b \"ou=People, o=Ford,c=US\" \"uid=lcai3\" uid fordU

Re: [Perl-unix-users] How can I redirect STDERR to a file?

2004-10-29 Thread $Bill Luebkert
Cai, Lixin (L.) wrote: > I am thinking I did not describe the problem clear, the following is my > code -- test.pl > > ### > #!/usr/bin/perl > > my $ldapsearch = "/usr/bin/ldapsearch"; > my $command = "$ldapsearch -x -LLL -h \"cds2.ford.com\" -b \"ou=Peopl

Re: [Perl-unix-users] How can I redirect STDERR to a file?

2004-10-29 Thread $Bill Luebkert
Cai, Lixin (L.) wrote: > I have a question, > > How can I redirect STDERR to a file, insead of output to the terminal? Depends on your shell syntax. perl fubar.pl 2>some_file should get it if you're not using {t}csh. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROT

Re: [Perl-unix-users] How can I redirect STDERR to a file?

2004-10-29 Thread $Bill Luebkert
Cai, Lixin (L.) wrote: > I have a question, > > How can I redirect STDERR to a file, insead of output to the terminal? Depends on your shell syntax. perl fubar.pl 2>some_file should get it if you're not using {t}csh. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROT

[Perl-unix-users] How can I redirect STDERR to a file?

2004-10-29 Thread Cai, Lixin \(L.\)
I have a question, How can I redirect STDERR to a file, insead of output to the terminal? Thanks Lixin ___ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: [Perl-unix-users] How to start GUI debugger on linux for ActiveState perl dev kit

2004-10-29 Thread Gisle Aas
"Cai, Lixin \(L.\)" <[EMAIL PROTECTED]> writes: > I have installed ActiveState perl Dev Kit and licenses. I do not know > what command can make me open GUI debugger on linux. Like on Win32, if > you run "perl -d test.pl", it open GUI debugger for you. Does anyone > know it? The PDK GUI debugger o

[Perl-unix-users] How to start GUI debugger on linux for ActiveState perl dev kit

2004-10-29 Thread Cai, Lixin \(L.\)
I have installed ActiveState perl Dev Kit and licenses. I do not know what command can make me open GUI debugger on linux. Like on Win32, if you run "perl -d test.pl", it open GUI debugger for you. Does anyone know it? Thanks a lot inadvance! Lixin ___