This is a problem with the shell, not with perl. If you use single quotes in the shell it won't interpolate. eg.
$ part="C:00000092666270:53882159774" $ echo $part C:00000092666270:53882159774 $ echo '$part' $part
Use double-quotes to interpolate or (easier) just unquote the variable when you want to use it. Better still, put it in the environment so perl can access it through %ENV.
In reply to Re: Inserting Variable Through Perl
by hippo
in thread Inserting Variable Through Perl
by Abhay_Anand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |