Re: [cciug] Perl Help.....

From: R P (cm_pro@hotmail.com)
Date: Tue Feb 01 2000 - 04:57:32 EST


Calvin,

Try this:

  my @fileNameList = </view/QA/vobs/QA_testing/*.c>;

  foreach my $fileName (@fileNameList) {
    open(READFILE, $fileName;
  }

rp
- a Software Configuration Management Professional
- a ClearCase consultant/admin/user since cciug'95
- mostly a unix, c, and perl person

>From: "Calvin Jackson" <cjac44@cbot.com>
>To: cciug@Rational.Com
>Subject: [cciug] Perl Help.....
>Date: Wed, 26 Jan 2000 16:54:52 -0600
>
>
>Hello cciug:
>
>Can someone please tell me how I can open a file containing a wildcard reg
>expression.
>For some odd reason this one seems to escape me!
>
>I have tried the following with no avail:
>
> open(READFILE, "/view/QA/vobs/QA_testing/*.c")
>
>What am I doing wrong?
>
>
>
>CJ
>
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:22:55 EDT