w.k

Estonia

Age: 43

55m
revised Where does Apache get the value for Perl @INC?
additional tag
1h
comment Where does Apache get the value for Perl @INC?
@wurtel Plain old CGI.
1h
asked Where does Apache get the value for Perl @INC?
Mar
3
comment How to perform arithmetic operations on the output of a shell command
And why not $lines{$logfile} = @lines? Here @lines is evaluated in scalar context and should give number of lines.
Mar
3
comment How to perform arithmetic operations on the output of a shell command
So $. has last line number after while loop is ended?
Mar
3
comment How to perform arithmetic operations on the output of a shell command
I think, it should be $lines{$logfile} = @lines, but isn't it too memory consuming? I'd go for something like this: while ( <$fh> ) { $lines{$logfile} = $. if eof(); }
Mar
3
comment MiniExifTool - Errno::ENAMETOOLONG - Error in prod only
Are you aware, that LANG = "en_US_UTF-8" contains typo?
Feb
20
comment Regex and creating output file (Perl beginner)
OP includes condition needs to work regardless of case in the input file. This may mean NEW -> OLD and nEw -> oLd, new -> old, etc. If replacement's case is not important, i-switch is enough.
Feb
20
comment perl get list of desired parameters
These three modules I suggested do not use source filters too, AFAIK.
Feb
18
comment PDF::CAM extract ALL Pages
Isn't the getPageText($pagenum) right method to use? And, btw, adding strict&warnings before posting code sample here is not right use of them, it does not help you at all. Your example code does not run.
Feb
18
comment perl get list of desired parameters
@Ben Grimm referred Function::Parameters may be then solution for inspecting?
Feb
18
answered perl get list of desired parameters
Feb
14
answered Why does perl's autodie feature not include "print"? (And is there a workaround?)
Feb
14
comment Printing all HTML Tables with certain string for multiple files (perl)
What is your exact problem? Do you get any errors? Or is output different of your expected result? Show input and output and desired outcome too, then is there much more hope to help you.
Feb
14
answered Perl substitution - lookup table issue
Feb
9
comment MySQL insert creating more than one row
One thing: if you POST forms to insert new rows, you should redirect user to next page. So user can't accidentally reload page/run it twice.
Feb
6
accepted How to fit multiple equal references into table structure?
Feb
6
comment How to fit multiple equal references into table structure?
Of course, even if I don't have need to address fellowship specifically, it works very well as helper table here. Simple and effective. Thank you!
Feb
6
comment Select only one record from many duplicates
What you want to achieve with RIGHT JOIN? It joins new table's (d) all rows, even those where is no according key from table a. Is that you want here?
Feb
6
asked How to fit multiple equal references into table structure?
1 2 3 4 5