Ask a Question related to PERL Beginners, Design and Development.
-
sfrisch@state.mt.us #1
array subscript
I am createing an array on the fly. I want to print out each element
and its index value to the screen so the user can pick the
number/index I wil then insert the element or value to a file that I
will open.
I am parceing a differant file each time I run the program so the
lenth and the values will be differant each time it is run.
open(FILE, 'number');
while (<FILE>) {
if (/Version date/){
@D = $_;
print @D;
}
}
Subscripting does not seem to be as staight forward as I remeber
THX In advance
out put looks like this.
Version date : 031124205937
Version date : 031125205927
Version date : 031126205934
Version date : 031127205927
Version date : 031128205934
Version date : 031129205936
Version date : 031130205932
Version date : 031201205932
Version date : 031202205935
Version date : 031203205933
Version date : 031204205931
Version date : 031205205935
Version date : 031206205931
Version date : 031207205935
Version date : 031208205934
Version date : 031209205932
Version date : 031210205932
sfrisch@state.mt.us Guest
-
Superscript & Subscript in Contribute
Just wondering how you would apply add sub & super script formatting... in html you would simple put <sub>2</sub>, but in contribute you can't edit... -
Subscript & Superscript in dynamic and input text fieldin Flash
Yes, <sub> & <sup> tags are not supported by Flash... but you can use Subscript & Superscript in dynamic and input text field in Flash: Download... -
How do I convert data into a subscript?
Hi Just wondering how I would convert say for example X2 into a subscript of X ^ 2 (so the 2 is raised above the X). The data is called from a... -
subscript out of range error
I am getting the following error: Subscript out of range: 'x' which occurs on the following line: cmd_AlloUpdate.Parameters.Item('@ddo').Value =... -
Using undef as an array subscript
This one is a surprise: @a = (0,undef); @b = (1,2); @c = @b; I was hoping to see $c == '1', but I got '2'. Apparently, undef is converted...



Reply With Quote

