search for: perlop

Displaying 4 results from an estimated 4 matches for "perlop".

Did you mean: perlow
2000 Mar 01
1
R-1.0.0 install: Error "Substitution loop..."
...itution was looping infinitely. (Obviously, a substitution shouldn't iterate more times than there are characters of input, which is what happened.) See the discussion of substitution in the section on Quote and Quote-like Operators in the perlop manpage. The last few lines of the aborted help/InsectSprays is: ... Description: The counts of insects in agricultural experimental units treated with different insecticides. Usage: ------ stops here (but of course it shouldn't) --------- Any suggestions ? Thanks Ian -- I...
2003 Feb 21
4
Perl question
I'm working on the installer code, but I don't know Perl well enough. What is a good Perl equivalent of the R statement if ( s %in% c('string1', 'string2', 'string3') ) ... I can do it with if (s == "string1" || s == "string2" || s == "string3") ... but I've got a feeling there's a better way to do it using associative
2003 Feb 23
0
unsubscribe
...tring1" || s == "string2" || s == "string3") ... You probably wanted 'eq' instead of '=='. The reg.exp. version is if (s =~ m/(string1|string2|string3)/o) { ... where the trailing o makes it supposedly less expensive (regexp only compiled once, see man perlop). > but I've got a feeling there's a better way to do it using associative > arrays. You could use grep and map on assoc. arrays, but IMHO the above is easier. > The real example will have about a dozen fixed strings that I want to > search a few thousand times. That may be...
2010 Jun 12
1
CentOS 5 Update error
...share/man/man1/perlnumber.1.gz from install of perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package perl-5.8.8-27.el5.i386 file /usr/share/man/man1/perlobj.1.gz from install of perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package perl-5.8.8-27.el5.i386 file /usr/share/man/man1/perlop.1.gz from install of perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package perl-5.8.8-27.el5.i386 file /usr/share/man/man1/perlopenbsd.1.gz from install of perl-5.8.8-32.el5_5.1.x86_64 conflicts with file from package perl-5.8.8-27.el5.i386 file /usr/share/man/man1/perlopentut.1.gz from...