Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

require, globals, and some various mayhem

by GaijinPunch (Pilgrim)
on Jun 06, 2009 at 03:21 UTC ( #768991=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub process() {
         my $url = shift;
    ...
         $html = $mech->content();
         return $html
    }
    
  2. or download this
    require( 'my_subs.pl' );
    
    ...
         my $returned_html = &process( $_ );
         # Bob Loblaw
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2020-02-23 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (102 votes). Check out past polls.

    Notices?