Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Best way to keep script with generated output

by benizi (Hermit)
on Dec 09, 2009 at 03:10 UTC ( [id://811856]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "
    #!perl -i.bak
    @ARGV = ($0);
    ...
    "
    # normal lines start here
    # etc. etc.
    
  2. or download this
    #!/bin/env updater
    # perl -lanwe '(...the script from before...)' inputfile
    # ...
    # the normal output...
    # ...
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    open my $pipe, "| $ENV{SHELL}";
    print $pipe $script;
    close $pipe;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-28 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found