in reply to Re: Re: Auto linking to words in a text file
in thread Auto linking to words in a text file

If you like that then you'll probably like to know that it can be done w/ even less keystrokes:
my $data = do { local $/; <TEXTFILE> };
No, this isn't golf, but all the same it's a nice construct to know.

Replies are listed 'Best First'.
Re: Re: Re: Re: Auto linking to words in a text file
by japhy (Canon) on Dec 02, 2000 at 01:13 UTC
Re: Re: Re: Re: Auto linking to words in a text file
by turnstep (Parson) on Dec 02, 2000 at 05:16 UTC
    Or even:
    { local $/=<TEXTFILE>; ## Do stuff with $/ directly }