Why not store both, the string and the filename?
file_exists: 'file(' filename ')' { $return = [ "-e $item{ 'filename' }", $item{ 'filename' +}] }
In reply to Re^3: Parse grammar via RecDescent parser
by Corion
in thread Parse grammar via RecDescent parser
by the_dark_lord
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |