Re: Command line fed to Perl was Re: File::Find again

2007-03-26 Thread Jenda Krynicky
From: Alan <[EMAIL PROTECTED]> > It's a different case here ie not a var, instead it's a command line that's > entered into a shell, such command line being passed to Perl. And the > command needs to make it to Perl without getting altered before it gets to > Perl. > > -s "\.

Command line fed to Perl was Re: File::Find again

2007-03-26 Thread Alan
On Monday 26 March 2007 07:32, Dave Gray wrote: > On 3/25/07, Alan <[EMAIL PROTECTED]> wrote: > > On Sunday 25 March 2007 18:14, Matt Herzog wrote: > > > This is all I needed. I swear I had " /($searchstring)/; " in there at > > > some point before . . . so if I pass it > > > > > > -s "\.propertie

Re: File::Find again

2007-03-26 Thread Dave Gray
On 3/25/07, Alan <[EMAIL PROTECTED]> wrote: On Sunday 25 March 2007 18:14, Matt Herzog wrote: > This is all I needed. I swear I had " /($searchstring)/; " in there at > some point before . . . so if I pass it > > -s "\.properties$" > > at the command line, it works as expetcted. Nice. That migh

Re: File::Find again

2007-03-25 Thread Alan
On Sunday 25 March 2007 18:14, Matt Herzog wrote: > On Fri, Mar 23, 2007 at 03:09:31PM -0700, Wagner, David --- Senior Programmer Analyst --- WGO wrote: > > > -Original Message- > > > From: Matt Herzog [mailto:[EMAIL PROTECTED] > > > Sent: Friday, March 23, 2007 15:00 > > > To: Begin Perl

Re: File::Find again

2007-03-25 Thread Matt Herzog
On Fri, Mar 23, 2007 at 03:09:31PM -0700, Wagner, David --- Senior Programmer Analyst --- WGO wrote: > > -Original Message- > > From: Matt Herzog [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 23, 2007 15:00 > > To: Begin Perl > > Subject: File::Find again > > > > Hello All. > > > >

Re: File::Find again

2007-03-25 Thread Randal L. Schwartz
> ""Mumia" == "Mumia W " writes: "Mumia> On 03/23/2007 04:59 PM, Matt Herzog wrote: >> Hello All. >> I can see why people hate this module but I can't seem to let go. >> [...] "Mumia> It's not really letting go if you use the File::Find::Rule module which uses "Mumia> File::Find behind the

Re: File::Find again

2007-03-23 Thread Alan
On Friday 23 March 2007 14:59, Matt Herzog wrote: [ . . ] > in the file, (.properties$) the search works fine. I need to be able to use > the variable $searchstring at the command line. Is this even possible? If [ . . ] > return unless ($_ =~ /\.properties$/); [ . . ] if ( /\Q

Re: File::Find again

2007-03-23 Thread Mumia W.
On 03/23/2007 04:59 PM, Matt Herzog wrote: Hello All. I can see why people hate this module but I can't seem to let go. [...] It's not really letting go if you use the File::Find::Rule module which uses File::Find behind the scenes. I have a feeling that you'll like File::Find::Rule. -- T

Re: File::Find again

2007-03-23 Thread Jeff Pang
> I need to be able to use >the variable $searchstring at the command line. Is this even possible? Surely you can. Don't forget to put a \Q before the $searchstring. (from perldoc perlre: \E end case modification (think vi) \Q quote (disable) pattern metach

RE: File::Find again

2007-03-23 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Matt Herzog [mailto:[EMAIL PROTECTED] > Sent: Friday, March 23, 2007 15:00 > To: Begin Perl > Subject: File::Find again > > Hello All. > > I can see why people hate this module but I can't seem to let go. > I point this script at a deep dir structure that has