Re: scp status

2010-01-14 Thread Shlomi Fish
On Thursday 14 Jan 2010 02:33:43 Noah wrote: Hi there, I want to initiate a series of scp commands from the shell. Is there anyway to view the scp status bar when running the shell commands from a perl script? if so, how? Hi! Try using one of the ssh modules on CPAN -

Re: About the Perl multiple lines problem

2010-01-14 Thread Majian
On 01/14/2010 12:25 AM, Grove, Michael wrote: At 6:47 PM +0800 1/13/10, Majian wrote: Hi,all There is a problem confused me for a long time . It is: cat test.txt 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, Then I want to this

Re: scp status

2010-01-14 Thread Majian
On 01/14/2010 08:33 AM, Noah wrote: I want to initiate a series of scp commands from the shell. Is there anyway to view the scp status bar when running the shell commands from a perl script? if so, how? yeah~ you can try the pv command . maybe you can install it if you haven't it it looks

Re: UTF-8 problem with LWP

2010-01-14 Thread Shawn H Corey
Have you tried: use utf8; -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org

Re: UTF-8 problem with LWP

2010-01-14 Thread Christoph Friedrich
Shawn H Corey schrieb: Have you tried: use utf8; I have tried it - did not success... -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: UTF-8 problem with LWP

2010-01-14 Thread Shawn H Corey
Christoph Friedrich wrote: Shawn H Corey schrieb: Have you tried: use utf8; I have tried it - did not success... OK, how about: binmode STDOUT, ':encoding(utf8)'; You might want to do it to STDERR too. If that doesn't work, then I'm out of suggestions. :( -- Just my 0.0002

Re: System question

2010-01-14 Thread Jeremiah Foster
On Jan 14, 2010, at 12:43 AM, Jim Gibson wrote: On 1/13/10 Wed Jan 13, 2010 3:28 PM, ANJAN PURKAYASTHA anjan.purkayas...@gmail.com scribbled: Hi, Suppose I run an application from within a perl script, with system (eg system (myfavprogram input_file out_file)). Is there a way to let