Skip to content

Update ukm for modern perl - #86

Open
kousu wants to merge 1 commit into
sitaramc:masterfrom
kousu:ukm-perl5.32
Open

kousu wants to merge 1 commit into
sitaramc:masterfrom
kousu:ukm-perl5.32

Conversation

@kousu

@kousu kousu commented Jul 30, 2020 •

Copy link
Copy Markdown
Contributor

with perl 5.32.0 trying to use ukm gives:

$ ssh gitolite@localhost ukm
Enter passphrase for key '/home/kousu/.ssh/id_rsa': 
FATAL: Can't use global $_ in "my" at /usr/lib/gitolite/commands/ukm line 296, near "($_"
Execution of /usr/lib/gitolite/commands/ukm aborted due to compilation errors.

This fixes it

$ ssh gitolite@localhost ukm list
Enter passphrase for key '/home/kousu/.ssh/id_rsa': 
Hello alice, you manage the following keys:
fingerprint                                     userid keyid
SHA256:VxHhqhOq5GxpPPUrYMeFMly4Mdc3YlP40qkLX4gr5fI alice  alice

with perl 5.32.0 trying to use ukm gives:

```
$ ssh gitolite@localhost ukm
Enter passphrase for key '/home/kousu/.ssh/id_rsa': 
FATAL: Can't use global $_ in "my" at /usr/lib/gitolite/commands/ukm line 296, near "($_"
Execution of /usr/lib/gitolite/commands/ukm aborted due to compilation errors.
```

This fixes it

```
$ ssh gitolite@localhost ukm list
Enter passphrase for key '/home/kousu/.ssh/id_rsa': 
Hello alice, you manage the following keys:
fingerprint                                     userid keyid
SHA256:VxHhqhOq5GxpPPUrYMeFMly4Mdc3YlP40qkLX4gr5fI alice  alice
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants