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

file upload with Perl

I have few questions regarding file uplad:

1) I am try do next tutorial: http://www.redantigua.com/upload.html

but what is "use lib qw(/home/redanti/perl);" here:
http://www.redantigua.com/UploadApp.txt



2) What is my path instead: '/home/redanti/perl'



3) what is modul lib?

Is it above lib modul:
http://search.cpan.org/~nwclark/per...5/lib/lib_pm.PL








Report this thread to moderator Post Follow-up to this message
Old Post
Maxipoint Rep Office
09-23-04 01:57 AM


Re: file upload with Perl
>
>
> I have few questions regarding file uplad:
>
> 1) I am try do next tutorial: http://www.redantigua.com/upload.html
>
> but what is "use lib qw(/home/redanti/perl);" here:
> http://www.redantigua.com/UploadApp.txt
>
>

perldoc lib

C<lib> is a pragma (similar to a module, but affects the perl
interpreter during compile time).  It allows you to munge the @INC
special var to include non-default paths for Perl modules. So in the
example the tutor is including a new path that has his Perl modules
installed in it.

>
> 2) What is my path instead: '/home/redanti/perl'
>
>

No idea, only you can tell us that. If you have modules installed in a
place that is not in the main Perl library locations then you should
know where you installed them to, if you don't then you shouldn't need
the line at all.

>
> 3) what is modul lib?
>
> Is it above lib modul:
> http://search.cpan.org/~nwclark/per...5/lib/lib_pm.PL
>
>

Yes those are the docs for it, though it is a 'pragma' instead of a
'module', which I only really mention because this is a beginners list
where we want people to be specific, and learn specifically, the
vocabulary used.

HTH,

http://danconia.org


Report this thread to moderator Post Follow-up to this message
Old Post
Wiggins d Anconia
09-23-04 01:58 AM


Sponsored Links




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

PERL Beginners 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 05:15 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.