summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-05-18 08:15:27 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-05-18 08:15:27 +0000
commit447218f8e55820af4787908b91600ccbddafa327 (patch)
treeb100a5c3e4e98796cadd7e0ae6897db5345d0adc /perl.c
parent91451e42347a75e822ac69341556a66aff081878 (diff)
downloadperl-447218f8e55820af4787908b91600ccbddafa327.tar.gz
Error message too wide.
p4raw-id: //depot/perl@22826
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/perl.c b/perl.c
index e4301a0b91..38766c5da9 100644
--- a/perl.c
+++ b/perl.c
@@ -3125,11 +3125,10 @@ S_open_script(pTHX_ char *scriptname, bool dosearch, SV *sv)
}
#endif /* IAMSUID */
if (!PL_rsfp) {
-/* PSz 16 Sep 03 Keep neat error message */
-
- Perl_croak(aTHX_ "Can't open perl script \"%s\": %s%s\n",
- CopFILE(PL_curcop), Strerror(errno),
- ". Use -S to search $PATH for it");
+ /* PSz 16 Sep 03 Keep neat error message */
+ Perl_croak(aTHX_ "Can't open perl script \"%s\": %s%s\n",
+ CopFILE(PL_curcop), Strerror(errno),
+ ".\nUse -S to search $PATH for it.");
}
}