home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_4e935e9c5dc93ce057cdd847406e60d8
< prev
next >
Wrap
Text File
|
2000-03-23
|
2KB
|
67 lines
<HTML>
<HEAD>
<TITLE>ops - Perl pragma to restrict unsafe operations when compiling</TITLE>
<LINK REL="stylesheet" HREF="../Active.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> ops - Perl pragma to restrict unsafe operations when compiling</P></STRONG>
</TD></TR>
</TABLE>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<LI><A HREF="#see also">SEE ALSO</A></LI>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>ops - Perl pragma to restrict unsafe operations when compiling</P>
<P>
<HR>
<H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
<UL>
<LI>Linux</LI>
<LI>Solaris</LI>
<LI>Windows</LI>
</UL>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
perl -Mops=:default ... # only allow reasonably safe operations</PRE>
<PRE>
perl -M-ops=system ... # disable the 'system' opcode</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>Since the ops pragma currently has an irreversible global effect, it is
only of significant practical use with the <CODE>-M</CODE> option on the command line.</P>
<P>See the <A HREF="../lib/Opcode.html">the Opcode manpage</A> module for information about opcodes, optags, opmasks
and important information about safety.</P>
<P>
<HR>
<H1><A NAME="see also">SEE ALSO</A></H1>
<P>Opcode(3), Safe(3), <CODE>perlrun(3)</CODE></P>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> ops - Perl pragma to restrict unsafe operations when compiling</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>