Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

CA170      CA2106      CA686      CA686I

Online AI coding exercises

Project ideas


Perl




Sample script

A Perl script to do Percent decoding:

#!/usr/bin/perl
 
use URI::Escape;
 
my $encodedurl = $ARGV[0];

my $url = uri_unescape($encodedurl);
 
print "$url\n";



ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.