Could you give us a snippet of your script to illustrate what you are trying to do? Maybe it's me but I really don't understand what you mean by evaluating "variabl%e". Does the following bear any resemblance to what you want?
#!/usr/bin/perl;
use strict;
use warnings;
my $variable = 1;
my $format = '%s%%';
printf $format, $variable; #1%
d5e5
Practically a Posting Shark
810 posts since Sep 2009
Reputation Points: 159
Solved Threads: 159