Hello. I have a severe problem with open(). Here is my actual code.
#!/usr/bin/perl
$file = '/testerpage.php'; # Name the file
open(INFO, $file); # Open the file
@lines = <INFO>; # Read it into an array
close(INFO); # Close the file
print @lines; # Print the array
<>;
I copied exactly from a website, but renamed the file to one that exists.
Some specs:
- Windows 7 Ultimate 64 bit
- Latest version of Notepad++
- Perl 5
- Opened it by double clicking
Thanks for the help, Glut.