auto directorie ?

J

JONL

Could anyone tell me where I might find some info on the purpose of the
auto directories
 
J

J. Gleixner

JONL said:
Could anyone tell me where I might find some info on the purpose of the
auto directories

perldoc AutoSplit

I'm guessing that's what you're after, otherwise be more specific.
 
J

JONL

Ok more specifically if I were to look for DBI directories under my
perl root dir
(WITS2DEV)-/home/bdlpxxx/features/upgrade/BIW>$ find /usr/perl586 -name
DBI
I d get something like this:

/usr/perl586/lib/site_perl/5.8.6/sun4-solaris/auto/DBI
/usr/perl586/lib/site_perl/5.8.6/sun4-solaris/DBI

My question is what is the piurpose of the .../auto/ dir
 
A

A. Sinan Unur

Ok more specifically

More specifically compared to what?

Please provide some context when you post a reply.
if I were to look for DBI directories under my
perl root dir
(WITS2DEV)-/home/bdlpxxx/features/upgrade/BIW>$ find /usr/perl586 -name
DBI
I d get something like this:

/usr/perl586/lib/site_perl/5.8.6/sun4-solaris/auto/DBI
/usr/perl586/lib/site_perl/5.8.6/sun4-solaris/DBI

My question is what is the piurpose of the .../auto/ dir

perldoc AutoLoader:

The AutoLoader module works with the AutoSplit module and the
"__END__"
token to defer the loading of some subroutines until they are used
rather than loading them all at once.

....

... When an undefined subroutine in is called in a client module of
AutoLoader, AutoLoader's AUTOLOAD subroutine attempts to locate the
subroutine in a file with a name related to the location of the file
from which the client module was read. As an example, if POSIX.pm is
located in /usr/local/lib/perl5/POSIX.pm, AutoLoader will look for
perl
subroutines POSIX in /usr/local/lib/perl5/auto/POSIX/*.al,

....

etc etc so on and so forth.

Please consult the documentation first.

Please read the posting guidelines for this group.

Sinan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,464
Latest member
Bobbylenly

Latest Threads

Top