Loading Perl Workspace...
Perl is a high-level, general-purpose, interpreted programming language with unmatched regular expression processing capabilities.
Perl reads lines with the diamond operator `<STDIN>`.
Match and substitute strings with `=~`.
if ($str =~ /^hello/i) { print "matches"; }Yes. You can write, compile, execute, test, and share Perl programs completely free with no software installation or registration required.
Code executes in high-performance isolated sandboxes with low compilation latency, outputting stdout and execution metrics in milliseconds.
Yes. Click the Share button in the navigation bar to generate a persistent link that encapsulates your code, files, and STDIN inputs for seamless collaboration.