diff options
| author | andrezgz <andrezgz@gmail.com> | 2019-07-18 19:07:07 -0300 |
|---|---|---|
| committer | andrezgz <andrezgz@gmail.com> | 2019-07-18 19:07:07 -0300 |
| commit | eabd5e38fcb35a696f8b0785c0f121bc958fb9c1 (patch) | |
| tree | b2e15327c439e97da183fc091dff6c5ce90294a5 | |
| parent | a2c6ccbcc2faf869dec105c4888575c1380a3c53 (diff) | |
| download | perlweeklychallenge-club-eabd5e38fcb35a696f8b0785c0f121bc958fb9c1.tar.gz perlweeklychallenge-club-eabd5e38fcb35a696f8b0785c0f121bc958fb9c1.tar.bz2 perlweeklychallenge-club-eabd5e38fcb35a696f8b0785c0f121bc958fb9c1.zip | |
challenge-017 ch-2 fix
| -rw-r--r-- | challenge-017/andrezgz/perl5/ch-2.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/challenge-017/andrezgz/perl5/ch-2.pl b/challenge-017/andrezgz/perl5/ch-2.pl index ea7368f303..06982bb5bd 100644 --- a/challenge-017/andrezgz/perl5/ch-2.pl +++ b/challenge-017/andrezgz/perl5/ch-2.pl @@ -21,8 +21,10 @@ use warnings; my $uri = shift || 'jdbc:mysql://user:password@localhost:3306/pwc?profile=true#h1'; -my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); -my ($userinfo, $host, $port) = auth_split($auth) if $auth; +my ($scheme, $auth, $path, $query, $frag, $userinfo, $host, $port); + +($scheme, $auth, $path, $query, $frag) = uri_split($uri); +($userinfo, $host, $port) = auth_split($auth) if $auth; show('scheme',$scheme); show('userinfo',$userinfo); |
