in reply to regular expression assistance

Perl without regex capability? Sounds unlikely. What do you mean?

Replies are listed 'Best First'.
Re^2: regular expression assistance
by notasaint (Novice) on May 09, 2008 at 21:42 UTC

    I'm sorry. I mean that the following is not working with the perl interpreter we have on the laptop...

    use Regexp::Common qw /net/;

    perhaps I have it wrong?

      In that case, see Fletch's answer.

      Since I gather from your prior thread that getting access to the laptops may be awkward, consider his cut'n'paste suggestion.

        Here is the error I receive when I attempt to use Regexp::Common.

        Can't locate Regexp/Common.pm in @INC (@INC contains: C:/Program Files/Rational/ Common/lib/perl5/5.8.6/MSWin32-x86-multi-thread C:/Program Files/Rational/Common /lib/perl5/5.8.6 C:/Program Files/Rational/Common/lib/perl5 C:/Program Files/Rat ional/Common/lib/perl5/site_perl/5.8.6/MSWin32-x86-multi-thread C:/Program Files /Rational/Common/lib/perl5/site_perl/5.8.6 C:/Program Files/Rational/Common/lib/ perl5/site_perl C:/Program Files/Rational/Common/lib/perl5/site_perl/5.8.6/MSWin 32-x86-multi-thread C:/Program Files/Rational/Common/lib/perl5/site_perl/5.8.6 C :/Program Files/Rational/Common/lib/perl5/site_perl .) at vmHostsUpdater.pl line 28.