Perl Home
PERL Functions
© 2011 TutorialsPoint.COM
|
PERL quotemeta Function
Syntax
Definition and Usage
Escapes all meta-characters in EXPR. For example, quotemeta("AB*..C") returns "'AB\*\.\.C".
Return Value
Example
Try out following example:
#!/usr/bin/perl -w
print quotemeta("AB*\n[.]*");
|
It will produce following results:
|

|
|
|