in reply to Re: Breaking a script into smaller files
in thread Breaking a script into smaller files
But he didn't point out that including "." includes the current working directory in @INC, which has no connection with the location of the file your code is in. Furthermore including "." explicitly is redundant - Perl includes "." in @INC already.
The information about variables is covered, of course, in perlvar. The __FILE__ literal in perldata. And the knowledge of what directory "." is is covered in any introduction to filesystems.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 2: Breaking a script into smaller files
by Flame (Deacon) on Nov 13, 2001 at 03:09 UTC |