Hi Stu,
On Mon, July 9, 2007 2:54 pm, Stuart Bird wrote:
> Can anyone see anything wrong with this perl script entry?
>
>
> #!/usr/bin/perl -w
>
> open(DATA, 'C:\Documents and Settings\Stu\chat512.dbb');
> while (<DATA>) {
> print $_;
> }
>
> reply = <STDIN>;
>
>
> I keep getting this error at the top of STDIN before the array is
> displayed:
>
>
> Name "main::reply" used only once: possible typo at C:\Documents and
> Settings\Stu\skype_log.pl line 8.
Don't you have to escape the backslashes? i.e.
open(DATA, 'C:\\Documents and Settings\\Stu\\chat512.dbb');
Malc
--
Web Development, Technical Copy-Editing & Proofreading
KDE Proofreading Team
KDE British English Translation Team
http://l10n.kde.org/team-infos.php?teamcode=en_GB
_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro