[32780] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 4044 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Sep 26 09:09:29 2013

Date: Thu, 26 Sep 2013 06:09:02 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Thu, 26 Sep 2013     Volume: 11 Number: 4044

Today's topics:
    Re: utilities in perl <gravitalsun@hotmail.foo>
    Re: utilities in perl <bill@todbe.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Thu, 26 Sep 2013 01:46:42 +0300
From: George Mpouras <gravitalsun@hotmail.foo>
Subject: Re: utilities in perl
Message-Id: <l1vp4q$2cbj$1@news.ntua.gr>

>> Or.. look at using Find::Bin.  That way you could run
>> /home/blah/get_file1.pl .. instead of always being in
>> /home/blah and having to run ./get_file1.pl.. and the
>> templates could be relative to get_file1.pl.
>>
> correction..  FindBin  not Find::Bin.. sorry.


why the FindBin and not the File::Find ;




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

Date: Wed, 25 Sep 2013 17:30:57 -0700
From: "$Bill" <bill@todbe.com>
Subject: Re: utilities in perl
Message-Id: <l1vv7v$nug$1@dont-email.me>

On 9/25/2013 15:46, George Mpouras wrote:
>>> Or.. look at using Find::Bin.  That way you could run
>>> /home/blah/get_file1.pl .. instead of always being in
>>> /home/blah and having to run ./get_file1.pl.. and the
>>> templates could be relative to get_file1.pl.
>>>
>> correction..  FindBin  not Find::Bin.. sorry.
>
>
> why the FindBin and not the File::Find ;

Why find at all if you're not recursing ?

opendir/readdir is more straight forward and probably efficient.

Or a recursive sub using opendir/readdir if you need depth isn't
all that much more complicated.



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

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

Back issues are available via anonymous ftp from
ftp://cil-www.oce.orst.edu/pub/perl/old-digests. 

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V11 Issue 4044
***************************************


home help back first fref pref prev next nref lref last post