in reply to Re: Dynamic given statement
in thread Dynamic given statement
So something like:
my $cases = get_file('cases'); eval qq@ given ('somevar') { $cases } @;
Ewww ugly!! Given how dog-awful slow eval is, I've done my utmost to completely remove it from my lexicon! I think there is only one place in my new system where it appears and then its only invoked if for some reason I have to embed raw Perl into my documents. (I believe that that can be completely avoided tbh)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Dynamic given statement
by mrstlee (Beadle) on Oct 22, 2011 at 15:49 UTC | |
by Logicus (Initiate) on Oct 22, 2011 at 22:33 UTC |