Re: File name for redirection

[email protected] (Matthew Somerville) Sat, 20 May 2000 11:47:10 +0100
Newsgroups perl.riscos
Message-ID <49C19C0FFF%[email protected]>
In message <[email protected]> you wrote:

> How can I do a redirection with perl using a variable?
> 
> 
> For instance, if I write:
> 
>   perl ... > <Choices$Write>.WWW.Browse.Hotlist
> 
> I get the following error:
> 
>   Filing system ADFS: must be given a filename

Alter your command to "do perl ... > <Choices$Write>.WWW.Browse.Hotlist" (ie.
stick a 'do' command at the front) and then it will work.

Also, while you're solving this problem, alter the line in !Perl.!Boot that
sets the RunType for Perl files (&102) to:

Set Alias$@RunType_102 WimpSlot 1024K|m /do <Perl$Dir>.Perl %%*0

...to overcome the same problem when double-clicking on Perl files that
contain system variables.

ATB,
Matthew
-- 
"Zeusie, I'm home!" (Hades, "Hercules")

[email protected]