Re: [SLUG] simple perl script problem

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Mar 09 2005 - 18:28:49 EST


On Wed, 9 Mar 2005, aaron steimle wrote:
> Eben King wrote:
> >On Wed, 9 Mar 2005, aaron steimle wrote:
> >
> >>Can anyone tell me why this code will NOT work?
>
> >What error(s) do you get?

> It will not print any part of the @fileinfo array..but what is really
> happening is stat will not work on the $filename variable.
> Just change the DIR and run it yourself.

I changed DIR to /tmp and tried it out. Sho nuf, it prints "<filename> -
<nothing>". Sorry, I don't know perl well enough (translation: any) to
help. I gambled that it was something non-perlish that was wrong, and lost.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
   Your pretended fear lest error might step in is like the man who
   would keep all wine out of the country lest men should be drunk.
                                                 -- Oliver Cromwell

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:26:30 EDT