Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Converting code to use DATA filehandle instead of external templates

by haoess (Curate)
on Nov 20, 2007 at 08:39 UTC ( #651882=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    __END__ behaves like __DATA__ in the toplevel script (but
    not in files loaded with "require" or "do") and leaves the
    remaining contents of the file accessible via "main::DATA".
    
  2. or download this
    $ cat data_eq_end.pl
    #!/usr/bin/perl
    ...
    1
    2
    3
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://651882]
help
Chatterbox?
[Corion]: Hi thezip!
[thezip]: How goes it, Corion?
[Corion]: thezip: Quite good, after a one week vacation in the sun ;)
[Corion]: I hope you're well too!

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2017-02-23 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (349 votes). Check out past polls.