mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
Remove left-over uneeded $comma
This commit is contained in:
parent
a0f0249c8f
commit
540243764f
@ -15,7 +15,6 @@ eval {
|
|||||||
print "Language '$language' is not supported.\n";
|
print "Language '$language' is not supported.\n";
|
||||||
|
|
||||||
my @languages = glob 'languages/*.pm';
|
my @languages = glob 'languages/*.pm';
|
||||||
my $comma = '';
|
|
||||||
print "Supported languages are: ";
|
print "Supported languages are: ";
|
||||||
print join(", ", grep { $_ = basename $_; $_ =~ s/.pm$//; $_ !~ m/^_/ } sort @languages);
|
print join(", ", grep { $_ = basename $_; $_ =~ s/.pm$//; $_ !~ m/^_/ } sort @languages);
|
||||||
print "\n";
|
print "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user