Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Data files in a .par file

by BooK (Curate)
on Jan 13, 2005 at 15:55 UTC ( #422008=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Bam::Kapow;
    
    ...
    }
    
    1;
    
  2. or download this
    Message of the day: PAR rules!
    
  3. or download this
    Well, I have this minor issue with PAR...
    
  4. or download this
    #!/usr/bin/perl
    use Bam::Kapow;
    ...
    print "Using Bam::Kapow version $Bam::Kapow::VERSION\n";
    print "MOTD: $Bam::Kapow::Info{motd}\n";
    print "Got Bam::Kapow from $INC{'Bam/Kapow.pm'}\n";
    
  5. or download this
    $ find lib/Bam/Kapow/ -type f > bam_kapow.lst</tt>
    $ pp -o script.exe -A bam_kapow.lst -I lib script.pl
    ...
    MOTD: Message of the day: PAR rules!
    
    Got Bam::Kapow from /tmp/par-ufwk/cache-e73b24e48419250052360127de57a0
    +74/inc/lib/Bam/Kapow.pm
    
  6. or download this
    #!/usr/bin/perl
    use PAR;
    ...
    print "Using Bam::Kapow version $Bam::Kapow::VERSION\n";
    print "MOTD: $Bam::Kapow::Info{motd}\n";
    print "Got Bam::Kapow from $INC{'Bam/Kapow.pm'}\n";
    
  7. or download this
    $ zip -r Bam-Kapow.par lib
      adding: lib/ (stored 0%)
    ...
    
    ls /tmp/par-ufwk/cache-51eaa99df530ab0d3b760931a92bb43c/
    a23f3e6c.pm
    
  8. or download this
    $ pp -o Bam-Kapow.par -p -M Bam::Kapow -A bam_kapow.lst -I lib -e 1
    $ perl script2.pl
    ...
    Using Bam::Kapow version 0.01
    MOTD:
    Got Bam::Kapow from /tmp/par-ufwk/cache-51eaa99df530ab0d3b760931a92bb4
    +3c/40599894.pm
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://422008]
Approved by sgifford
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2014-09-16 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (13 votes), past polls