G'day santoshsas02,
Welcome to the monastery.
From your problem description, it sounds like you may have a typo somewhere near code that looks like:
use Storable; use ClusterConfigSpecEx;
It could be something as simple as a missing semicolon; however, without seeing that part of your code, I can only guess. If that doesn't help, you'll need to post more code for us to help you further.
The strict and warnings pragmata will often identify typos such as this. If you're not already using these, I strongly recommend you do.
Probably unrelated to your reported issue, but the code
my $temp = retrieve 'test1'; $temp = $$temp;
is potentially confusing and may prove to be error-prone (particularly if changes are made to this part of your script at some later date).
If you did store a scalar value, e.g.
store \$scalar_to_store, 'test1';
then retrieval as
my $retrieved_scalar = ${retrieve 'test1'};
would reduce confusion over the intent and you wouldn't be using the same variable as both reference and dereference values.
-- Ken
In reply to Re: Storable library is masking the other libraries of perl
by kcott
in thread Storable library is masking the other libraries of perl
by santoshsas02
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |