| Thread | Last Post | Replies |
|
| perl -014pe | 04 Mar 2010 19:54 GMT | 3 |
I saw the following code about splitting a file into several pieces: perl -014pe 'open(STDOUT,">fred.$.")' fred I couldn't find what -014 means. Please advise. Thanks in advance.
|
| Return text left of first tab | 03 Mar 2010 23:08 GMT | 1 |
I have a file that contains the following information: 10.21.65.252 ADMS.01.01 BAS-ADSL24R 00:0A:9F:00:D4:75 3.2.1.28 10.21.66.252 ADMS.02.01 BAS-ADSL24R 00:0A:9F:00:D4:A5
|
| FAQ 8.7 How do I clear the screen? | 03 Mar 2010 22:56 GMT | 1 |
This is an excerpt from the latest version perlfaq8.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete
|
| Decimal sort | 03 Mar 2010 21:56 GMT | 7 |
Is there any way to sort floating point numbers in perl? Every example I have tried has failed. Numerical sort appears to NOT to be a numerical sort but rather an integer sort. Thanks,
|
| CGI html table generation | 03 Mar 2010 15:31 GMT | 3 |
I've spent many years just bodging my html with the CGI module. But now I'm trying to do it properly and I'm happy with my progress so far. What I am having trouble with is specifying cell widths (and therefore the width of the entire column).
|
| Automatic Web Form Submission | 03 Mar 2010 13:09 GMT | 1 |
I am looking for some advice on where to start research for a problem I have which I would like to solve using perl. I have to do many travel request searches for flights and would like to automate it, I'd like to write a script to input to my favorite
|
| flushing buffer for printing to the screen | 03 Mar 2010 09:59 GMT | 12 |
I want to be certain that a print statement is immediately executed. Googling around led me to use "$| = 1". Is this correct? Here is an example of how I'm using it: my $test;
|
| floating point issue? | 03 Mar 2010 04:02 GMT | 3 |
I made a perl program as follows. ----------------- $AAA = 4.31; $AAA *= 100;
|
| Search a Large files backwards | 02 Mar 2010 22:05 GMT | 9 |
Could anybody tell me if there is a fast and efficient way to scan/ print a large files (1Gb+) backwards ? I am not sure that the reverse function is the best way of doing it, particularly for really large files.
|
| unicode characters with PerlMagick | 02 Mar 2010 18:52 GMT | 5 |
I want to write unicode characters with the Annotate method in ImageMagick/PerlMagick (Ubuntu) $image->Annotate(font => $font_name, text => $text,
|
| trim the last blank-line and compare files | 02 Mar 2010 17:55 GMT | 6 |
Im comparing two files. Newer file has blank-line introduced at the end. So the file difference is only a blank-line at the end. If I need to ignore this difference, module File::Compare does not help. tried with the third argument to the cmp function:
|
| extract number from binary string | 02 Mar 2010 11:15 GMT | 8 |
I'm parsing a binary string, which encodes a number. I don't know the length of the string in advance: 1, 2, 3 or 4 bytes. The bytes of the string are in network order. How can I retrieve the number?
|
| Recursion without lists | 02 Mar 2010 03:28 GMT | 6 |
In a discussion about interview questions the following problem came up: "Take the numbers 123456789. Insert between each number either a + * or nothing and find the two equations whose answer is 2002" Of course I had a go and managed to find a solution, but I'm not really
|
| Substitute and replace | 02 Mar 2010 00:24 GMT | 1 |
I have the below examples where I need to get the lastname using Perl substitute and replace: joeAAAAsmith jrAAAAbudget where I need to get smith jr or this
|
| Generate a wsdl file from a cgi script | 01 Mar 2010 20:09 GMT | 1 |
I am very new in web service with the perl language so, i writed a cgi script (as server) and a pl script (as client). Now, i want to generate a wsdl file to make a web service composition. Please, tell me how can i make this task?
|