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 "\.
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
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
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
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.
> >
> >
> ""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
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
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
> 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
> -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
10 matches
Mail list logo