Re: getting list of all .html files in a directory and its directories

2004-07-31 Thread Andrew Gaffney
Chris Devers wrote: On Fri, 30 Jul 2004, Andrew Gaffney wrote: I think it is a problem with the regex. If I change it to: grep -RLi '%init' * | grep '.html' I get all files that don't have '%init', but it doesn't work with the '%(init|perl)'. That regex doesn't seem to match anything. More man

Looking for Dan Muey

2004-07-31 Thread Sander
I hope this isn't in violation of forum etiquette, but I am looking for Dan Muey. He used to post a lot on here and I need to contact him. Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

RE: print to both STDOUT and a file?

2004-07-31 Thread Brian Volk
Jeff japhy Pinyan wrote: If you want to make it transparent, use the IO::Tee module. It's not standard, though. I using IO::Tee and I think I'm getting close. The output is being sent to the screen and the phyical output file is being created... but I'm not sure how to send the @ARGV to the

RE: print to both STDOUT and a file?

2004-07-31 Thread Brian Volk
Thanks to Greg, I was able to get the result I was looking for, but I am still curious as to what I was doing wrong w/ the IO::Tee; module. open SAVESTDOUT, C:/perl/bin/output/test.txt or die Open failed; while () { print SAVESTDOUT $ARGV $1\n and print

RE: print to both STDOUT and a file?

2004-07-31 Thread Jeff 'japhy' Pinyan
On Jul 30, Brian Volk said: I using IO::Tee and I think I'm getting close. The output is being sent to the screen and the phyical output file is being created... but I'm not sure how to send the @ARGV to the output.txt file as well. You're not printing the right stuff! my $tee = IO::Tee-new(

Perl Core

2004-07-31 Thread James Edward Gray II
Quick question: What's the best way to find out if a module is standard in the Perl Core and if it is, when it was added? Thanks. James -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Perl Core

2004-07-31 Thread Randy W. Sims
On 7/31/2004 12:24 PM, James Edward Gray II wrote: Quick question: What's the best way to find out if a module is standard in the Perl Core and if it is, when it was added? Check out Module::CoreList http://search.cpan.org/dist/Module-CoreList/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Perl Core

2004-07-31 Thread James Edward Gray II
On Jul 31, 2004, at 11:30 AM, Randy W. Sims wrote: On 7/31/2004 12:24 PM, James Edward Gray II wrote: Quick question: What's the best way to find out if a module is standard in the Perl Core and if it is, when it was added? Check out Module::CoreList http://search.cpan.org/dist/Module-CoreList/

Re: Perl Core

2004-07-31 Thread Randy W. Sims
On 7/31/2004 12:40 PM, James Edward Gray II wrote: On Jul 31, 2004, at 11:30 AM, Randy W. Sims wrote: On 7/31/2004 12:24 PM, James Edward Gray II wrote: Quick question: What's the best way to find out if a module is standard in the Perl Core and if it is, when it was added? Check out

Re: Perl Core

2004-07-31 Thread Flemming Greve Skovengaard
James Edward Gray II wrote: On Jul 31, 2004, at 11:30 AM, Randy W. Sims wrote: On 7/31/2004 12:24 PM, James Edward Gray II wrote: Quick question: What's the best way to find out if a module is standard in the Perl Core and if it is, when it was added? Check out Module::CoreList

Re: A simple client/server problem

2004-07-31 Thread Dan Timis
Thanks Bob, I looked at LWP and it looks great. I will keep it in mind for other applications. I should have been more clear about what I meant by simple. I have 100+ clients that need to run this script, and I cannot install any kind of significant Perl modules on them. I found a file

Need help with regex

2004-07-31 Thread linuxnand
Hello, I have as the output of an unzip command called from a script the following: unzip test.zip Archive: test.zip inflating: arch1.txt inflating: arch2.txt inflating: arch3.txt inflating: arch4.txt inflating: arch5.txt inflating: arch6.txt The same I have from a pkware execution :

Re: howto 'cat file|grep foo bar|wc -l' in perl

2004-07-31 Thread Randy W. Sims
Maurice Lucas wrote: Hello, I just started using perl and want to rewrite a simple bash script i've been using in the past to perl. I want to cat file|grep foo bar|wc -l and tried it the following way which worked for foobar as one word and not as two words. --- #!/usr/bin/perl $logfile =

Re: Need help with regex

2004-07-31 Thread Gunnar Hjalmarsson
[EMAIL PROTECTED] wrote: So, I need some help on how to write a regexp to get the values after inflating, that is the filenames, and put them in an array. Both outputs above are stored on a $stdout php variable. Well, this list is for discussing Perl, not PHP. If you want a regexp in PHP, you'd

more regex maddness, using special chars

2004-07-31 Thread Jerry M. Howell II
hello all, I appreciate everyone that got me going in the right direction with a sed alternative. After some searching I even found a way to get it to search recursive and add an extension to the end IE .html or .php and it is working wonderfully. Now for the part I haven't gotten a grasp on

Re: A simple client/server problem

2004-07-31 Thread Randal L. Schwartz
Dan == Dan Timis [EMAIL PROTECTED] writes: Dan I should have been more clear about what I meant by simple. I have Dan 100+ clients that need to run this script, and I cannot install any Dan kind of significant Perl modules on them. See PAR, then. Cannot install is not a valid excuse. --

Re: A simple client/server problem

2004-07-31 Thread Dan Timis
On Saturday, July 31, 2004, at 07:01 PM, Randal L. Schwartz wrote: Dan == Dan Timis [EMAIL PROTECTED] writes: Dan I should have been more clear about what I meant by simple. I have Dan 100+ clients that need to run this script, and I cannot install any Dan kind of significant Perl modules on