k since it tries to evaluate
the whole thing and '1>>' doesn't evaluate to
anything.
Any help would be greatly appreciated,
Thanks,
Navid M.
__
Post your free ad now! http://personals.yahoo.ca
--
To unsubs
7; and
replace $filename with its actual value in my 2nd
perl
script.
Thanks,
Navid M.
--- "Brett W. McCoy" <[EMAIL PROTECTED]>
wrote: > On Tue, 18 Mar 2003, Navid M. wrote:
>
> > I was wondering how you can evaluate parts of a
> > string:
> >
>
ot;File1";
$var = '$fileName';
$string = eval($var); # $string now stores 'File1'.
But this won't work if $var='1>>$fileName'. I was
hoping there would be a simple way getting around this
without using any regexps.
Navid M.
--- Pete Emerson <[EMAIL PROTECTE
That did it. Thanks Rob!
--- Rob Dixon <[EMAIL PROTECTED]> wrote: >
Navid M. wrote:
> > Hello,
> >
> > I was wondering how you can evaluate parts of a
> > string:
> >
> > Ex: $fileName = "File";
> > $var = '1>>$fileNa
Hello,
I was wondering if it's possible to save the error of
a DOS command from the error stream into a variable.
For example, the STDOUT of a DOS command can be saved
to a variable this way:
$var = `dir`; # Using back quotes
but this won't save anything from STDERR.
Thanks
Hi,
Is there any way to read MSWord files using Perl.
It doesn't seem to recognize the characters in a
MSWord file.
Thanks,
Navid M.
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your des
Simple Example:
Embed Demo
Counting from 0 to 4!
<%
# perl code
foreach $i (0..4) {
# starts a small loop
%>
<%=$i%> #loop variable is printed for each number from
0 to 4
<%
} # end of loop
%>
Finished!
--- David O'Dell <[EMAIL PROTECTED]> wrote: > Is
there a way to place a pe