Bug 13296

Summary: must use push for @INC to use the current directory
Product: [Retired] Red Hat Linux Reporter: Becky Miller <becky_miller>
Component: perlAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: mark_rusk, matt_domsch
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-14 15:15:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Becky Miller 2000-06-30 20:55:26 UTC
We must include the line 
push(@INC, ".");
for perl script to find the require argument in the current directory.

Comment 1 Nalin Dahyabhai 2000-07-03 07:50:38 UTC
What do you get when you run "perl -V"?  I'm unable to reproduce this problem
with this test case:

foo1.pl:
	print("foo1\n");
foo2.pl:
	require "foo1.pl";

Running foo2 prints "foo1".

Comment 2 Cristian Gafton 2000-08-09 02:45:45 UTC
assigned to nalin

Comment 3 Nalin Dahyabhai 2000-08-20 05:22:48 UTC
Closing.