Mahdi,
Question 1: I believe the ":" at the beginning of the script means "use
bourne shell to execute this script.
Question 2: I don't know of any way, unless you start the script with
"perl scriptname."
Hope this helps,
Craig
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:per
Hi Nagesh
Even u can use the "UL" command of Unix and give swith " -t
dump"
All The Best
BYe
FAILURE MEANS DELAY, NOT DEFEAT.
=
Living on Earth may be expensive, but it includes an annual free trip round the Sun.
Regards,
Pragneshkumar Gandhi,
India.
__
Nagesh,
The ^M is a carriage return it come from Windows. Windows uses a
carriage return new line (CR/LF) for an end of line. On unix the end of
line is a new line (LF). To get rid of the CR you can do a "dos2unix"
on the attachment, if you want to use perl you can do a substitution on
the car
Newer versions of Lynx (I know 2.8pre and higher) supports SSL as well as
basic authentication.
If you run 'lynx -version', you should get something like below. Look for
'OpenSSL' to ensure that your version of Lynx supports SSL:
Lynx Version 2.8.4rel.1 (17 Jul 2001)
libwww-FM 2.14, SSL-MM 1.4.
All,
Does anybody know if text based browsers out there which support
SSL handshake's. I mean you can browse a site which has
both user authentication and links are all ssl links. For ex:
https://www.website.com
thanks,
siva
___
Perl-Unix-User
Hi Bill,
What about the "The alternative is to force"
asked by the Configure script.
Regards,
Mahdi.
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 5:07 PM
To: Mahdi A. Sbeih
Cc: [EMAIL PROTECTED]
Subject: Re: [Perl-unix-users] the
Mahdi A. Sbeih wrote:
> Hi there,
>
>
> I am installing now Perl 5 on my Solaris box,
>
> I am trying to understand this question that I am
> being asked by Configure script:
>
> I can use the #! construct to start Perl on your system. This will
> make startup of Perl scripts faster, but may
Thanks Edward,
I put #!perl -w as the first line, it didn't work,
I made sure that I has the right perl in my path,
by running:
$which perl
I didn't also get the point for the use of ':' in the first line
of the script instead of using the #! construct.
Regards,
Mahdi,
-Original Messag
- Original Message -
From: "Mahdi A. Sbeih" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 23, 2002 12:20 PM
Subject: [Perl-unix-users] the #! construct to start perl on
your system
> Hi there,
>
>
> I am installing now Perl 5 on my Solaris box,
>
> I am trying to under
Hi there,
I am installing now Perl 5 on my Solaris box,
I am trying to understand this question that I am
being asked by Configure script:
I can use the #! construct to start Perl on your system. This will
make startup of Perl scripts faster, but may cause problems if you
want to share those s
Johnno wrote:
>
> How do i change $value="View Data" to $value="View_Data";
I guess you mean you want to substitue all spaces with underscores?
$value =~ tr/ /_/;
If you need any number of consecutive spaces to be a single underscore:
$value =~ tr/ /_/s;
If you need any amount of white spa
The regex below will replace the space with an underscore.
my $value="View Data";
$value =~ s/ /_/;
Bryan
-Original Message-
From: Johnno [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 7:55 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Changing values
How
If all you are wanting to do a change a scalar variable then you just did it
and answered your own question.
Try:
$value = "View Data";
print "$value\n";
$value = "View_Data";
print "$value\n";
If what you are trying to do here is turn all spaces into underscores then
you need a regex something
How do i change $value="View Data" to $value="View_Data";
Many Thanks,
Johnno
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Nagesh Reddy wrote:
> Hi all ,
>
> I have a problem after detaching a attachment from a e-mail ,
> I am able to see that the detached attachment contains ^M
> characters appended to each line.
> Can anyone tell me how do i get rid of the ^M characters
> in the file detac
Hi Justin ,
I have a program which uses MIME:Parser package to detach the
attachments coming through e-mail .
The attachment is detached perfectly but i am finding some
^M characters at the end of each line after detaching.
Are these characters coming originally in the attach
Just what exactly is your Perl question?
Is it how can Perl get rid of ^M characters?
Just how exactly are the files detached (sic)?
Normally ^M characters arise from FTP'ing ASCII files in binary mode, are
you doing this?
-Original Message-
From: Nagesh Reddy [mailto:[EMAIL PROTECTE
Hi all ,
I have a problem after detaching a attachment from a e-mail ,
I am able to see that the detached attachment contains ^M
characters appended to each line.
Can anyone tell me how do i get rid of the ^M characters
in the file detached from a e-mail.
Thanks,
Nage
18 matches
Mail list logo