in reply to Re^3: Regex for matching and appending
in thread Regex for matching and appending

thank you thats great - it works. Just out of interest, does __DATA__ act as an "in file" file handler? thanks

Replies are listed 'Best First'.
Re^5: Regex for matching and appending
by moritz (Cardinal) on Dec 10, 2008 at 14:11 UTC
    Just out of interest, does __DATA__ act as an "in file" file handler? thanks

    Aye, DATA is a file handle that points to where __DATA__ is. See perldata for details.

Re^5: Regex for matching and appending
by toolic (Bishop) on Dec 10, 2008 at 14:17 UTC
    Kinda. See perldata and search for "__DATA__".