Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: use Drugs;

by Aristotle (Chancellor)
on Sep 01, 2002 at 19:30 UTC ( [id://194471]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @colors = qw(red green yellow blue cyan magenta);
    my @tmp    = ();
    for (@colors) {
        push (@tmp, "bold $_");
    }
    @colors = (@colors, @tmp);
    
  2. or download this
    my @colors = qw(red green yellow blue cyan magenta);
    push @colors, map "bold $_", @colors;
    
  3. or download this
    package IO::Drug;
    use strict;
    use Tie::Handle;
    ...
    tie *STDERR, "IO::Drug", $err;
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://194471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found