develooper Front page | perl.beginners | Postings from January 2002

Re: pulling file name into perl (fwd)

From:
Deen Hameed
Date:
January 31, 2002 19:45
Subject:
Re: pulling file name into perl (fwd)
Message ID:
Pine.LNX.4.44.0202010915340.2475-100000@localhost.localdomain

eep! I am referring to the system() call there... :)

---------- Forwarded message ----------
Date: Fri, 1 Feb 2002 09:09:50 +0530 (IST)
From: Deen Hameed <hameedd@softhome.net>
To: Russell Boyd <RBOYD@tnrcc.state.tx.us>
Cc: "<" <beginners@perl.org>
Subject: Re: pulling file name into perl


Hi Russell,

It executes a command and returns the EXIT STATUS of the command. 

If you look in $date, you will find the exit status of "ls ..." as
returned by the wait() call.

deen





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About