|
First
|
Prev |
Next
|
Last
Pages: 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
mismatch between Perl 5.6 and Perl 5.8 in printing high precision values. printf("%.32g\n",0.99999999976716936); Perl 5.6.1 output: 0.99999999976716936 --> GOOD Perl 5.8.6 output: 0.99999999976716925 --> ERROR Any reason for such mismatch ? Please let me know how to avoid that or any alternative approach if any. Thanks Vivek ... 2 Apr 2008 11:44
Perl Pattern matching Deepan Perl XML Parser wrote: Now i want to get everything between "<text><![CDATA[" and "]]></ text>" [ie i need to capture the CDATA section]and i am using the below code if( $str =~ m#<text><!\[CDATA\[(.*)\]\]></text># ) { print $1; } Your expression is (besides the /s modifier) perfectl... 2 Apr 2008 03:48
FAQ 8.11 How do I decode encrypted password files? 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 perlfaq is at http://faq.perl.org . --------... 2 Apr 2008 03:15
tricky use of print? I found that little can be done on debugging a variable on print, after visiting a page containing the module PadWalker. I wonder whether in Perl can do something like: $newline = '\n' print foo $foo print $newline; I use the vim editor, in this sense, rapid coding and debugging can achieve. But ... 2 Apr 2008 19:08
ID3v2 cover art insertion with Perl? Hi, I'm struggling with my flac->mp3 music library maintenance script. based on some net articles I have used MP3::Tag to attach cover art this way use constant HEADER => ( chr(0x0) , "image/jpeg" , chr(0x0), ""); $img = new Image::Magick; if (! $img->Read("$flacdir/cover.jpg")) { $id3v2->add_frame( "API... 2 Apr 2008 07:06
RE Perl Pattern matching Hi, I am having a string say $str, the value of it is as below: <responseStatus>HTTP/1.1 200 OK</responseStatus> <cookies> <cookie name="ASPSESSIONIDSQDCBDBA" path="/" domain="www- int.juniper.net">DOCFGJEAKNOMBLHCGEMOIMBA</cookie> </cookies> <headers> <header name="Cache-co... 9 Apr 2008 17:55
Good documentation or good source examples for Image::Magick or converter from commandline to perl On Wed, 02 Apr 2008 00:07:15 +0200 in comp.lang.perl.misc, nntpman68 <news1234(a)free.fr> wrote, $err = $tile->Draw( %textopts ); warn "$err" if "$err"; Produces the message: Exception 410: unrecognized option `text' at ./test.pl line 103. draw "text" is no longer supported in recent versions of ImageMagi... 2 Apr 2008 09:31
TieRegistry with IPConfig I'm trying to remotely look at the NIC cards on W2K3 servers that I have admin accounts on. When I run the following it gives me an error: use strict; use Win32::IPConfig; my $ipconfig; my $host = "some IP address"; # Changed the IP address for posting $ipconfig = Win32::IPConfig->new($host); # This is where... 1 Apr 2008 22:19
Can I iterate through a file on a CGI page? Apologies to Perl purists - comp.infosystems.www.authoring.cgi doesn't work on my newsreader, and this is a CGI question: What I want to do is, I've got a large collection of image files: $ wc gallery-pix 37448 62619 3218967 gallery-pix and what I'd like to do is look at each of the 37488 image files on s... 15 Apr 2008 15:39
FAQ 8.14 How do I modify the shadow password file on a Unix system? 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 perlfaq is at http://faq.perl.org . --------... 1 Apr 2008 21:13 |