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

Re: How to process html script with perl

by NetWallah (Abbot)
on Oct 30, 2012 at 02:59 UTC ( #1001446=note: print w/ replies, xml ) Need Help??


in reply to How to process html script with perl

Seriously ? You are asking how to open and read a file ? Ok - here goes:

# Place this code wher you want the contents of the file... {open (my $fh,"<","sample.html" ) or die $!; local $/=undef; <$fh>}

             "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius


Comment on Re: How to process html script with perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2015-07-31 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls