Hi,
I have a guess commong question where I struggle with Excel.
I have a header: hattr1, hattr2
and each header has 1 .. n lines with attr:
nattr1,nattr2,nattr3
How to handle and enter this efficiant in 1 sheet:
hattr1 hattr2 nattr1 nattr2 nattr3
Head1 AA Line1 C D
Head1 AA...
I experience a very strange behaviour when using absolute UNC pathes. After the save it converts to some relative path which makes no sense at all.
See example below:
\s01-itwal\iccsetup$\Vaj_353.EN
and after save it converts to:
../../../../../../../../../iccsetup$/Vaj_353.EN
Does anyone have...
Hi,
I checked this value and it is used if I understand right for switching or not allowing to switch from the drive letter to the UNC path.
But in my case it switched from the UNC or drive letter to some weird relative path.
brg robert
Hi,
I have big problems with word 2002 SP2 concerning absolut links. I enter
\\s01-itwal\iccsetup$\Vaj_353.EN
and after save it converts to:
../../../../../../../../../iccsetup$/Vaj_353.EN
Thanks for your help!
Hi,
I can check everything with my own code.
But i was looking for a tool which is checking the arguments on a certain behavior.
1 thing is to check what flags are existing and get the value for value flags.
The other things is to check in which combination the are allowed to exists.
First...
Hi Barbie,
No I mean arguments like following examples.
mycopy filepath_value targetpath_value
So you path 2 parameters and you know from the position what value is what kind of arguments.
There are no tags for it.
So is there some way to check this kind of values with getopt or any other...
Hi,
The GetOpt::Long looks quite nice for me.
But I wonder how to handle positioned parameters.
What u have is:
-tag (flag) found in getopt
-tag value (value) found in getopt
value1 value2 not found in getopt
So how to handle this via this package ?
I could not find positioned parameter...
Hi,
What I want is to execute some code dynamically.
Meaning I want to have some statements inside a string.
e.g. $code="check_Name('Robert') && check_name('Hans')";
Than I want to execute the content of $code like i would execute the check_Name commands directly.
Difference is only that in my...
Hi Barbie,
But can a dynamically call get_lastname() with some arguments.
e.g. eval "sub {get_lastname('Robert');}"; or
$firstname="Robert";
eval "sub {get_lastname($firstname);}";
What I am doing wrong ?
It works fine to call get_lastname as long i don't pass an argument.
Thanks!
brg Robert
Hi,
I have problems with eval when I want to call a procedure inside eval which passes a argument.
This line fails when i pass $firstname. If I call without argument it's fine.
my $code = eval "sub {get_lastname($firstname);}";
Error:
Undefined subroutine &main:: called at...
Hi,
Can any one help how I can get the date and time down to milliseconds ?
localtime() just delivers if I understood up to seconds.
Thanks!
brg Robert
When i use this:
my $code = eval "sub { return check_name(true); }";
$return=&$code;
I get error:
Undefined subroutine &main:: called at eval_test.pl line 5
but this is OK.
my $code = eval "sub { return check_name(); }";
So it must have something to do with argument passing inside eval.
What i...
Thanks for the eval hint. I just have some problem in using it. I get when using:
my $code = eval "sub { return check_name(true); }";
Undefined subroutine &main:: called at eval_test.pl line 5.
but
my $code = eval "sub { return check_name(); }";
is OK.
What i am doing wrong ?
I tried as well:
my...
Hi,
Has someone written a smart and flexible argument check routine. One most boring code to write again and again is to check the arguments validity of arguments passed to some perl tools.
I am looking for some package which can handle argument checks dynamically.
Pass what arguments should...
Hi,
Is there some way to execute dynamic code in perl. Something like reflection in other languages.
Lets assumed I have a field containing:
$tag1="test";
$check="$tag1 eq ""hallo""";
if (dyn($check))
{
}
So I want before executing the if to assume that instead of dyn($check) the content is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.