Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Need some simple CGI/PERL help please
How can I determine/test the length of a particular file using CGI/PERL?

Thanks



Report this thread to moderator Post Follow-up to this message
Old Post
Jack B. Pollack
03-19-04 06:26 PM


Re: Need some simple CGI/PERL help please
In article <1073579301.523748@news1.bigplanet.com>, Jack B. Pollack wrote:
>How can I determine/test the length of a particular file using CGI/PERL?

Clue #1:  There's no such thing as "CGI/PERL".  There's a Perl/Tk, but that
is entirly a different story.  Learn what you're actually dealing
with before you pipe up, so you won't look completely ignorant.
CGI has nothing to do with testing for lengths in perl.  Actually,
your question belongs in comp.lang.perl.misc, where they will
promptly point you to my Clue #2 with "RTFM", most likely.

Clue #2:  Read the documentation before asking questions of this type.
This is so basic, I don't know whether to laugh or cry over
the fact that you asked it without looking it up.  Chances are,
if you can't figure that out on your own, you shouldn't be
tinkering with whatever you're tinkering with.  Yes, it's -that-
basic.

Clue #3:  State the -full- question.  Is the file on the filesystem?  Are
you trying to determine its size as it comes in from a pipe or
socket on the fly?  I'll assume "on the filesystem", since you
don't seem competant enough to be dealing with pipes and sockets,
or possibly even just handling STDIN.

Probably you want to `perldoc -f stat`.

Thank you for lowering the collective IQ of this newsgroup.  We're all so
very appreciative.

--
Vorxion - Member of The Vortexa Elite

Report this thread to moderator Post Follow-up to this message
Old Post
Vorxion
03-19-04 06:26 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL CGI Freelance archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:59 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.