™.. less - Online Linux Manual PageSection : 3pm
Updated : 2009-02-12
Source : perl v5.10.1
Note : Perl Programmers Reference Guide

NAMEless − perl pragma to request less of something

SYNOPSIS​ use less 'CPU';

DESCRIPTIONThis is a user-pragma. If you're very lucky some code you're using will know that you asked for less CPU usage or ram or fat or... we just can't know. Consult your documentation on everything you're currently using. For general suggestions, try requesting \*(C`CPU\*(C'\fR or \f(CW\*(C`memory\*(C'\fR. ​ use less 'memory'; ​ use less 'CPU'; ​ use less 'fat'; If you ask for nothing in particular, you'll be asking for \*(C`less ​'please'\*(C'\fR. ​ use less 'please';

FOR MODULE AUTHORSless has been in the core as a joke module for ages now and it hasn't had any real way to communicating any information to anything. Thanks to Nicholas Clark we have user pragmas (see perlpragma) and now \*(C`less\*(C'\fR can do something. You can probably expect your users to be able to guess that they can request less CPU or memory or just less overall. If the user didn't specify anything, it's interpreted as having used the \*(C`please\*(C'\fR tag. It's up to you to make this useful. ​ # equivalent ​ use less; ​ use less 'please';

BOOLEAN = less−>of( FEATURE )The class method \*(C`less\->of( NAME )\*(C'\fR returns a boolean to tell you whether your user requested less of something. ​ if ( less−>of( 'CPU' ) ) { ​ ... ​ } ​ elsif ( less−>of( 'memory' ) ) { ​ ​ }

FEATURES = less−>of()If you don't ask for any feature, you get the list of features that the user requested you to be nice to. This has the nice side effect that if you don't respect anything in particular then you can just ask for it and use it like a boolean. ​ if ( less−>of ) { ​ ... ​ } ​ else { ​ ... ​ }

CAVEATSThis probably does nothing. This works only on 5.10+ At least it's backwards compatible in not doing much.
0
Johanes Gumabo
Data Size   :   8,857 byte
man-less.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 200,317
Visitor ID   :     :  
Visitor IP   :   3.147.77.119   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|less.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|less.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|less.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|less.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|less.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|less.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|less.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|less.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|less.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|less.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|less.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|less.3pm|146|\*(C`CPU\*(C'\fR or \f(CW\*(C`memory\*(C'\fR. |For general suggestions, try requesting \f(CW\*(C`CPU\*(C'\fR or \f(CW\*(C`memory\*(C'\fR. )         (rof_escape_sequence|91|less.3pm|154|\*(C`less |If you ask for nothing in particular, you'll be asking for \f(CW\*(C`less )         (rof_escape_sequence|91|less.3pm|155|\*(C'\fR. |\&\*(Aqplease\*(Aq\*(C'\fR. )         (rof_escape_sequence|91|less.3pm|165|\*(C`less\*(C'\fR can do something. |perlpragma) and now \f(CW\*(C`less\*(C'\fR can do something. )         (rof_escape_sequence|91|less.3pm|171|\*(C`please\*(C'\fR tag. It's up to you to make this useful. |the \f(CW\*(C`please\*(C'\fR tag. It's up to you to make this useful. )         (rof_escape_sequence|91|less.3pm|181|\*(C`less\->of( NAME )\*(C'\fR returns a boolean to tell you |The class method \f(CW\*(C`less\->of( NAME )\*(C'\fR returns a boolean to tell you )