RE: directory again

2001-05-31 Thread Trever Furnish
Unix: man perlrun Windows: Open the perl documentation and read the section titled "perlrun". Both: Take two aspirin. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Tanya Graham > Sent: Thursday, May 31, 2001 4:02 PM > To: '[EMAIL PROTECTED]' > S

RE: regular expression question

2001-05-31 Thread Trever Furnish
$OK = "c:\\some\\dir\\file"; $OK =~ /(.*)(\\.*)$/; $OK1 = $1; ...of course it isn't portable across operating systems, and it assumes that filenames can't contain \. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: Thursd