alw has asked for the wisdom of the Perl Monks concerning the following question:
The data.txt file contains a few lines of anything. The command to generate the example.exe file is:#!/usr/bin/perl open FH,"data.txt" or die " can't open file $!\n"; while ( <FH> ) { print $_; }
OS is windowsXP and perl version is 5.8.8 820 Activestate. I have tried different ways of entering the filename after the -a flag; -a "data.txt;/script/data.txt", etc but none seem to work. What am I doing wrong here? Thankscommand prompt>pp -a "data.txt" -o example.exe example.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pp -a is not working
by Cody Pendant (Prior) on Aug 22, 2007 at 03:01 UTC | |
|
Re: pp -a is not working
by Anonymous Monk on Aug 22, 2007 at 07:15 UTC | |
by alw (Sexton) on Aug 22, 2007 at 19:35 UTC |