how would i go about giving a file (or script) a handle so i can open that file in another perl program...all i want is to open (or run the file) in another perl "program"...i bought Perl for Dummies, and it kind of explains it...i tried this:
open(INFILE,$password_script);
print "$password_script";
but that didnt work...all that happend when i ran it was a blank line and then thats it...the name of the program i ran it in is not Name+password.txt also, i put INFILE as the handle b/c thats what it says in the Perl for Dummies book....any help is appriciated
Code:
$password_script = 'Name+password.txt' open(INFILE,$password_script);
print "$password_script";
but that didnt work...all that happend when i ran it was a blank line and then thats it...the name of the program i ran it in is not Name+password.txt also, i put INFILE as the handle b/c thats what it says in the Perl for Dummies book....any help is appriciated