perleager has asked for the wisdom of the Perl Monks concerning the following question:
if (-e glob("$free_path/$Account::cata_acc/_data/messages/im*")) { opendir(MESSAGE, "$free_path/$Account::cata_acc/_data/messages/"); @messages = grep !/\.\.?/, readdir MESSAGE; closedir (LOGDIR); foreach $message (@messages) { ($im,$from) = split(/im/, $message); print <<EOF; trim=window.open("http://www.teen-reality.com/cgi-bin/members/trim.cgi +?account=$Account::cata_acc&session=$Account::session&action=main&fro +m=$from&what=newim","","width=180,height=350") trim.creator=self EOF }#foreach $messages }#if -e glob im check if ne im messages #done checking
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting a filename
by chromatic (Archbishop) on Mar 23, 2001 at 00:54 UTC | |
|
Re: getting a filename
by arturo (Vicar) on Mar 23, 2001 at 00:44 UTC | |
|
Re: getting a filename
by myocom (Deacon) on Mar 23, 2001 at 00:44 UTC | |
by perleager (Pilgrim) on Mar 23, 2001 at 00:53 UTC | |
by arturo (Vicar) on Mar 23, 2001 at 00:56 UTC | |
by myocom (Deacon) on Mar 23, 2001 at 00:55 UTC | |
|
Re: getting a filename
by buckaduck (Chaplain) on Mar 23, 2001 at 04:32 UTC |