🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.perl.misc
Article #32

Help!! What's wrong by doing it this way in perl?

#32
From: Raj Rangarajan
Date: Wed, 02 Oct 1996 00:00
15 lines
1028 bytes
Hi,
	I use the following command in perl to list all files in a directory 
including the ones in subdirectories:

	@files = `find $path -type f -print`;

	I know that the same can be accomplished by using the find2perl 
routine - I was just curious as the why the former was not used ? Is there 
anything that could potentially blow up by doing it the former way? Any help 
would be appreciated.  Please post your replies her or mail them to 
raj@netcarta.com


Thanks
Technical Details
Message-ID: <3252e804.0@netnews.netcarta.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd3ff,e7e20359fd4007b5,start
X-Google-Attributes: gidfd3ff,public
X-Google-Thread: fa0ae,e7e20359fd4007b5,start
X-Google-Attributes: gidfa0ae,public
From: raj@netcarta.com (Raj Rangarajan)
Subject: Help!! What's wrong by doing it this way in perl?
Date: 1996/10/02
Message-ID: <3252e804.0@netnews.netcarta.com>
X-Deja-AN: 186787352
content-type: Text/Plain; charset=US-ASCII
organization: NetCarta Corp
mime-version: 1.0
newsgroups: comp.lang.perl.misc,ba.transportation