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

Re: Accessing the __DATA__ blocks of other packages

by Ovid (Cardinal)
on Dec 11, 2002 at 21:58 UTC ( [id://219190]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Foo;
    1;
    __DATA__
    line 1
    line 2
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    use Foo;
    print while (<Foo::DATA>);
    
  3. or download this
    {
      local $^W;
      print while (<Foo::Data>);
    }
    
  4. or download this
    {
      now warnings 'once';
      print while (<Foo::Data>);
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-18 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found