Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^6: HTML::Parser / Regex

by MissPerl (Sexton)
on May 27, 2017 at 22:27 UTC ( #1191390=note: print w/replies, xml ) Need Help??

in reply to Re^5: HTML::Parser / Regex
in thread HTML::Parser / Regex

Hi shmem, thanks for the steps. I am going to google it for a little bit as I am not too familiar with linux environment yet.

At the mean time, is there any other method that I can achieve my goal? like storing the found or empty value into variables ?

Replies are listed 'Best First'.
Re^7: HTML::Parser / Regex
by AnomalousMonk (Archbishop) on May 28, 2017 at 06:36 UTC
    ... any other method ... storing the found or empty value into variables ?

    Did you take a look at the code here? (Update: Also here.) And if you need a quick-and-dirty replacement for  $RE{num}{real} from Regexp::Common if you have difficulty installing it, try
        my $rx_amount = qr{ (?> [-+]? (?: \d+ (?: [.] \d*)? | [.] \d+)) }xms;
    It's semi-tested and should be enough to move forward with.

    Give a man a fish:  <%-{-{-{-<

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2023-12-11 19:37 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (41 votes). Check out past polls.