How to create a regexp reference

Discussion in 'Perl Misc' started by Martin Kissner, Feb 1, 2006.

  1. hello together,

    how do I create a regexp reference?
    I checked perldoc perlref and perldoc -q 'reference' but I could not
    find anything appropriate.

    I want to use WWW::Google::SiteMap::Robot and the documentation is not
    very detailed.
    The url restrictions can be given as regexp reference but there are no
    examples.

    Any help will be appreciated.

    Best regards
    Martin

    --
    perl -e '$S=[[73,116,114,115,31,96],[108,109,114,102,99,112],
    [29,77,98,111,105,29],[100,93,95,103,97,110]];
    for(0..3){for$s(0..5){print(chr($S->[$_]->[$s]+$_+1))}}'
    Martin Kissner, Feb 1, 2006
    #1
    1. Advertising

  2. Martin Kissner

    Guest

    Martin Kissner wrote:
    > how do I create a regexp reference?
    > I checked perldoc perlref and perldoc -q 'reference'


    Try 'perldoc perlop' and look for 'qr'

    --
    http://DavidFilmer.com
    , Feb 1, 2006
    #2
    1. Advertising

  3. wrote :
    > Martin Kissner wrote:
    >> how do I create a regexp reference?
    >> I checked perldoc perlref and perldoc -q 'reference'

    >
    > Try 'perldoc perlop' and look for 'qr'
    >

    Thank you.
    I also saw, there were some examples in the documentation which I
    didn'T notice before.

    Best regards
    Martin

    --
    perl -e '$S=[[73,116,114,115,31,96],[108,109,114,102,99,112],
    [29,77,98,111,105,29],[100,93,95,103,97,110]];
    for(0..3){for$s(0..5){print(chr($S->[$_]->[$s]+$_+1))}}'
    Martin Kissner, Feb 1, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Greg Hurrell
    Replies:
    4
    Views:
    149
    James Edward Gray II
    Feb 14, 2007
  2. Mikel Lindsaar
    Replies:
    0
    Views:
    463
    Mikel Lindsaar
    Mar 31, 2008
  3. Joao Silva
    Replies:
    16
    Views:
    338
    7stud --
    Aug 21, 2009
  4. Uldis  Bojars
    Replies:
    2
    Views:
    184
    Janwillem Borleffs
    Dec 17, 2006
  5. Matìj Cepl

    new RegExp().test() or just RegExp().test()

    Matìj Cepl, Nov 24, 2009, in forum: Javascript
    Replies:
    3
    Views:
    168
    Matěj Cepl
    Nov 24, 2009
Loading...

Share This Page