I was gonna write a chunk of stuff here about `imp...
# cfml-general
a
I was gonna write a chunk of stuff here about
import
aliasing in CFML, but decided to stick it in a blog article instead. https://blog.adamcameron.me/2022/04/cfml-revisit-import-aliasing.html. Input welcome.
d
Here, I solved your problem. You're welcome.
Copy code
import com.vendor.app.*;
VendorDate = "package.Date";
venDate = new "#VendorDate#"();
Ok, so maybe "solved" is too strong a word 😉. I did find it interesting that CF actually allows the above syntax, though. Where else can you put parentheses after a quoted string?