RE: file :: find problem

2005-12-28 Thread Manoj Thakkar, Noida
gram run fine i can find the string i was looking for. Regards Manoj From: Timothy Johnson [mailto:[EMAIL PROTECTED] Sent: Wed 12/28/2005 1:05 AM To: Charles K. Clarkson; beginners@perl.org Subject: RE: file :: find problem First of all, you're assuming a

RE: file :: find problem

2005-12-27 Thread Timothy Johnson
g information. -Original Message- From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 27, 2005 6:03 AM To: beginners@perl.org Subject: RE: file :: find problem Timothy Johnson <[EMAIL PROTECTED]> almost bottom posted: : (quote from below): "The file separator

RE: file :: find problem

2005-12-27 Thread Charles K. Clarkson
Timothy Johnson <[EMAIL PROTECTED]> almost bottom posted: : (quote from below): "The file separator in perl is '/', not '\\'" : : That's not necessarily true. Using '\\' as the file separator makes your script more platform dependent than using '/'. AFAIK, '\\' will not work in a unix or Ma

RE: file :: find problem

2005-12-27 Thread Timothy Johnson
rtDirs){ if((-d $dir) && ($dir ne 'System Volume Information')){ find(\&wanted,"c:\\$dir"); } } ### -Original Message- From: Charles K. Clarkson [mailto:[EMAIL PROT

RE: file :: find problem

2005-12-26 Thread Charles K. Clarkson
Manoj Thakkar, Noida wrote: : "Can't cd to (C:/) System Volume Information: Permission denied" : : here is my code Add: use strict; : use warnings; : use File::find; : : sub wanted : ( : if (/albd_server/) You have a syntax error here. An 'if' statement re