Re: How to open STDOUT ?

2002-06-14 Thread Franck FASANO
Objet: Re: How to open STDOUT ? Date: Thu, 13 Jun 2002 21:34:16 -0700 De: Todd Wade [EMAIL PROTECTED] A: [EMAIL PROTECTED] Franck Fasano [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I have recuperated a module from the web and I in

Re: How to open STDOUT ?

2002-06-14 Thread Franck FASANO
Thank you for the answer Angela! That's a solution. but exec is different of qx (it doesn't return anything except false if the command is not found ) and I need the return value because my script is more huge than test.pl in fact. Several scripts call others . An other is to replace qx by

How to open STDOUT ?

2002-06-13 Thread Franck FASANO
Hi, I have recuperated a module from the web and I interfaced with it but STDOUT is closed . If I do a : print STDOUT hello\n in my script, nothing appeared . I don't know where STDOUT is closed and how to re-open it ? If someone have an idea... ? Thanks in advance. Franck. -- To

Re: How to eliminate ctrl character in a file ?

2002-03-26 Thread Franck FASANO
Thanks for your help. In fact, the files I work with are binary file which contains alphanumériques characters which I want to recuperate . The adequate solution to keep only the text editable is : perl -pi -e 's/[^[:graph:]\n\s]//g' Myfile Have a good day. Franck. -- To unsubscribe,

How to eliminate ctrl character in a file ?

2002-03-25 Thread Franck FASANO
Hi, I'm trying to eliminate characters control (Non editable by vi or non printable), null characters ... from a file . I try something like this : perl -pi -e 's%\P{IsPrint}%%g' MyFile But it delete the new line \n and the space \s too ... How can I do to eliminate only the noise ? Any

WWW-Search-Translator ?

2001-12-13 Thread Franck FASANO
Hi, Is someone try this once ? Is it really efficient ? In an other subject I have some pbs to install it and have the error : Warning: prerequisite WWW::Search failed to load: Can't locate WWW/Search.pm in @INC And it fails on exec for the same error whereas the module WWW/Search.pm seems

Little pb with sort ...

2001-11-20 Thread Franck FASANO
Here is a little code : -- my @trav= ( 1, 12, 5, 3); @trav=sort { $b cmp $a } @trav; foreach (@trav) { print $_ ; } -- After exec, we have : 5 3 12 1 But I expected : 12 5 3 1 How can I do ? I mean easily (without developping some code) ... Franck. -- To

Can't make loaded symbols global on this platform while loading..

2001-11-09 Thread Franck FASANO
Hi, I installed perl5.6.0 and GtkPerl-0.7000 on an HPUX 10.20 Station. When I run my script perl (who seems to work well anyway) , This error appears : Can't make loaded symbols global on this platform while loading /usr/local/lib/perl5/site_perl/5.6.0/PA-RISC1.1/auto/Gtk/Gtk.sl at