Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: pattern match screwed up!!

by kennethk (Abbot)
on Jan 22, 2015 at 00:51 UTC ( [id://1114087]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
        local $/; # Slurp
        <$fh>;
    };
    
  2. or download this
    my @tokens;
    
    ...
            $sandboxxml =~ s/<!--.*?-->//s;
        }
    }
    
  3. or download this
    while ($sandboxxml =~ s#(<[^<>]*(?:/|>(?:[^<>]|<<\d*>>)*</[^<>]*)>)#'<
    +<' . (0+@tokens) . '>>'#es) {
        push @tokens, $1;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found