© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Vishwa Bhat
Technology Enthusiast
Did you try using Cwd? like
use Cwd; Cwd::realpath($0) =>gives absoulute path of current dir
P.S: I don't know Perl. I've asked my friend and he suggested this.
Ibrahim Tanyalcin
{intrst:"Scnc&Art",msc:"admin@MutaFrame",strive:"Experiment&Learn",loves:"ES5",hates:"bandwagon",lang:"Javascript",twttr:"@ibrhmTanyalcin"}
Hi Vishwa,
Thank you for the advice. I used FindBin::Bin to get the absolute path of the currently running script instead of the cwd because the relative paths were within the script. But who knows, I will also bring up your suggestion.
No problem :)