in reply to Re^3: Interpolation Problem?
in thread Interpolation Problem?

Then try use diagnostics.
Possible unintended interpolation of @rman in string at xxrc_env_test. +pl line 51 (#1) (W ambiguous) You said something like `@foo' in a double-quoted st +ring but there was no array @foo in scope at the time. If you wanted a literal @foo, then write it as \@foo; otherwise find out what happ +ened to the array you apparently lost track of. Global symbol "@rman" requires explicit package name at xxrc_env_test. +pl line 51 (#2) (F) You've said "use strict vars", which indicates that all variab +les must either be lexically scoped (using "my"), declared beforehand +using "our", or explicitly qualified to say which package the global var +iable is in (using "::"). Execution of xxrc_env_test.pl aborted due to compilation errors (#3) (F) The final summary message when a Perl compilation fails.
perlintro covers interpolation.

Replies are listed 'Best First'.
Re^5: Interpolation Problem?
by Ronnie (Scribe) on May 07, 2009 at 13:06 UTC
    Sorry for wasting your time guys - I'd forgotten how to escape characters like @ in a string!! In my defense I have been off ill for 7 months and it's amazing how quickly you forget some of the basics!!
    Cheers