Closed Veraellyunjie closed 8 months ago
> ln -s /path/to/clyrics /clyrics/symlink > /clyrics/symlink ** Couldn't find any plugins...
$FindBin::RealBin solves it.
Also, rephrased a bit for shortness, from:
if (-d (my $dir = catdir($FindBin::RealBin, 'plugins'))) { push @plugins_dirs, $dir; }
to:
-d && push @plugins_dirs, $_ for catdir $FindBin::RealBin, 'plugins';
Shorter yet might be too dense for your liking... Can revert it if you prefer step-by-step better :)
$FindBin::RealBin solves it.
Also, rephrased a bit for shortness, from:
to:
Shorter yet might be too dense for your liking... Can revert it if you prefer step-by-step better :)