Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

open a file generated dynamically

0 views
Skip to first unread message

Ela

unread,
Mar 16, 2008, 6:57:51 AM3/16/08
to
a file named "summary.####" is generated dynamically where #### is a number
with unknown digits (i.e. maybe 1 to 9), how can I ask perl to open this
file for further processing?


Jürgen Exner

unread,
Mar 16, 2008, 7:51:19 AM3/16/08
to

You will have to determine the actual file name first, e.g. by using glob()
or opendir() and readdir() and then isolating the desired name from the
list.

jue

0 new messages