summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index f69b8bbc97..3a8de2aef1 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -1217,7 +1217,7 @@ doing different actions depending on which regexp matched. Each
regexp tries to match where the previous one leaves off.
$_ = <<'EOL';
- $url = new URI::URL "http://www/"; die if $url eq "xXx";
+ $url = URI::URL->new( "http://www/" ); die if $url eq "xXx";
EOL
LOOP:
{