diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-01-21 16:41:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-01-21 17:09:11 +0000 |
commit | b96d8cd966afa49291119752aac86cd1f1de5560 (patch) | |
tree | ddea44f6a0b8c59ab9835695c9936f2375fb6afd /perlio.c | |
parent | e350d0e0ab968c54f8b39c21d92b151f1f1611d5 (diff) | |
download | perl-b96d8cd966afa49291119752aac86cd1f1de5560.tar.gz |
Add get_cvs() as a shortcut for STR_WITH_LEN() and Perl_get_cvn_flags(), and
use it where possible.
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -807,7 +807,7 @@ PerlIO_find_layer(pTHX_ const char *name, STRLEN len, int load) } else { SV * const pkgsv = newSVpvs("PerlIO"); SV * const layer = newSVpvn(name, len); - CV * const cv = Perl_get_cvn_flags(aTHX_ STR_WITH_LEN("PerlIO::Layer::NoWarnings"), 0); + CV * const cv = get_cvs("PerlIO::Layer::NoWarnings", 0); ENTER; SAVEINT(PL_in_load_module); if (cv) { |