Try
$file="C:\\Program Files\\Apache Group\\Apache\\htdocs\\linux.htm";
open (IN, "$file") or die "Can't open $file: $!"; # ALWAYS CHECK OPENS
while () {
/.+<\/a>/; # This will act on the value of $_ which you
are setting with while ()
print "$1"; # You can combine this into one line
}
c
Try
open (FH, ">/www/html/images/graph.png") || die "Could not create
/www/html/images/graph.png: $!"; # Always check file opens
binmode FH; # Set to binmode to prevent OS from mangling the data
print FH $gd_image->png();
close(FH);
HTH
John
-Original Message-
From: Conan Chai [mailto
6.1
on my Windows98 Lite (Windows 98 with 95 interface). Works I think. Just
tested it with the simple example.pl script.
At 04:26 PM 3/18/02 +0000, John Edwards wrote:
> From the requirements for ActivePerl 5.6
>
>Windows 98
>
>Microsoft Windows Installer 1.
few modifications.
--i have no control over what OS they
put on their laptops, but they did ask
for Perl for Windows (Windows '98 no less).
--so THAT is the *real* reason why i need
Perl for Windows.
-X
-Original Message-
From: John Edwards [mailto:[EMAIL PROTECTED]]
Sure. The
Sure. They're called Windows 2000 and Linux
I wouldn't touch Win98 with a bargepole. Especially for developing on. As
soon as you get a perl script that goes rouge and starts eating memory it
will be much harder to kill off in Win98 than a proper OS.
You could always install the 5.22 version
You can add some javascript code to the field's -onchange section.
-Original Message-
From: DUCHATEAU, GABRIEL [mailto:[EMAIL PROTECTED]]
Sent: 06 March 2002 17:34
To: [EMAIL PROTECTED]
Subject: popup_menu help
Hi all,
I hope somebody can help me here. I have a CGI script creating a po
"I need a Java script"
"I have a java script"
This is a mailing list for *Perl* CGI. Do you have a question relating to
Perl CGI? Would you like to share it with us?
John
-Original Message-
From: Fred Sahakian [mailto:[EMAIL PROTECTED]]
Sent: 06 March 2002 17:23
To: <
Subject: URL Fetc
there is a function called escape() in CGI.pm which you can import. There is
also an unescape function.
use CGI qw(:standard escape);
#^ Import function
$text = "This is a test $£#{}-+";
print "Original text $text\n";
$escaped = escape($text);
print "Escaped text $escaped\n"
What format log file? What format spreadsheet? What OS?
-Original Message-
From: Allison Ogle [mailto:[EMAIL PROTECTED]]
Sent: 27 February 2002 14:42
To: [EMAIL PROTECTED]
Subject: Perl help
Hi,
I am a beginner trying to write a program which will read information from a
log file and w
Yep. Use the constant function
http://perlhelp.web.cern.ch/PerlHelp/lib/constant.html
-Original Message-
From: Stephen.Hurley [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2002 17:31
To: '[EMAIL PROTECTED]'
Subject: Global Constants in Perl ?
Hi,
I was wondering if there was a way of d
foreach my $f ( @files ){
# Iterate through the @files array, foreach iteration set the value of $f
to the next element of @files
if( $f =~ /private/ ){ next; }
# If the scalar $f contains the text "private", then stop this iteration
and move onto the next one
chomp $f;
#
I think you'll need to look at the image magik module for creating the
thumbnails. I've looked at this in the past, and come away with headaches,
but I believe it's the right tool for the job. Good luck
John
-Original Message-
From: Scott R. Godin [mailto:[EMAIL PROTECTED]]
Sent: 16 Janu
audio/mpeg (and
I've tried audio/x-mpeg). The MIME type for the m3u is audio/x-mpegurl.
Any ideas? Am I in the wrong list? Could someone give me a pointer to a more
suitable list or resource for this if so.
Thanks.
John Edwards
IT Support
Runecraft Leeds
Phone: 0113 2206317
Fax: 0113 220
13 matches
Mail list logo