Thanks to everyone for their help! It's been very enlightening!
Stan
On Apr 4, 2012, at 4:51 AM, Shlomi Fish wrote:
> Hi all,
>
> inspired by this thread, I’ve added this item in my “Perl Elements to Avoid”
> page:
>
> http://perl-begin.org
%test;
code
I believe the output should result with:
first is the worst
second
The output I receive running this test is:
first is the worst
is the best
second
This seems peculiar! Help!
Stan
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
I am given a UTF-8 string. Because some downstream system only handles
Latin-1 text, I'd like to either strip all characters that are outside
the Latin-1 codepoints (Latin-1 is 0x00-0xFF), or replace them with a
'.' or maybe a '¿' to indicate a substitution. What's the best way to
do this?
--
To
riteMakefile prompt);
use Config qw(%Config);
#--- Configuration section ---
my @programs_to_install = qw(lwp-request lwp-mirror lwp-rget lwp-download);
my @request_aliases = qw(GET HEAD POST);
2TIA,
Stan
-
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
Great! Thanks to both of you!
Stan2
Jeff Pang <[EMAIL PROTECTED]> wrote:
>Hi;
>I need to add a line that calls a shell script to a perl script I found. Is it
>as simple as just adding the path of the script?
>
>else
>/usr/local/bin/my_script.sh
>
Hello,
You could write it like:
system "/u
Hi;
I need to add a line that calls a shell script to a perl script I found. Is it
as simple as just adding the path of the script?
else
/usr/local/bin/my_script.sh
Or is there some special incantation?
TIA,
Stan2
-
Now that's room service! Choose from over
Any help?
Thanks,
Stan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I need to search for a string in httpd.conf file , ( the string is :
CustomLog /var/log/httpd/site.com/access_log ) and then replace
inside them site.com with site_com. I mentioned that the site.com can take
diferent values, such as shop.com ,
radioq.
I need to search for a string in httpd.conf file , ( the string is :
CustomLog /var/log/httpd/site.com/access_log ) and then replace
inside them site.com with site_com. I mentioned that the site.com can take
diferent values, such as shop.com ,
radioq.
Could anyone help me?
How can i find a string in a file and then replace it with another string?
Thanks a lot
---
ROL!RO free mail - http://mail.rol.ro
Spatiu nelimitat pentru contul tau si acces gratuit prin dial-up!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
10 matches
Mail list logo