Page is a not externally linkable
- Code, Content, and Presentation
-- Perl Server Side CGI Scripting
---- Perl script to return a specific line of a file?


sugarkane - 5:25 pm on Jan 19, 2004 (gmt 0)


>open(INPUT, $infile)? die...

As Romeo mentioned, the forum software 'mangles' the pipe symbol. You need to change the? in the above line to two pipe symbols (vertical lines) and all should be okay.


Thread source:: http://www.webmasterworld.com/perl/3424.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com