excel::template::container::loop(3pm) [debian man page]
Excel::Template::Container::Loop(3pm) User Contributed Perl Documentation Excel::Template::Container::Loop(3pm)NAME
Excel::Template::Container::Loop - Excel::Template::Container::Loop
PURPOSE
To provide looping
NODE NAME
LOOP
INHERITANCE
Excel::Template::Container
ATTRIBUTES
o NAME
This is the name of the loop. It's used to identify within the parameter set what variables to expose to the children nodes each
iteration.
CHILDREN
None
EFFECTS
None
DEPENDENCIES
None
USAGE
<loop name="LOOPY">
... Children here ...
</loop>
In the above example, the children nodes would have access to the LOOPY array of hashes as parameters. Each iteration through the array
would expose a different hash of parameters to the children.
These loops work just like HTML::Template's loops. (I promise I'll give more info here!)
There is one difference - I prefer using Perl-like scoping, so accessing of variables outside the LOOP scope from within is perfectly
acceptable. You can also hide outside variables with inner values, if you desire, just like Perl.
AUTHOR
Rob Kinyon (rob.kinyon@gmail.com)
SEE ALSO perl v5.14.2 2012-04-29 Excel::Template::Container::Loop(3pm)
Check Out this Related Man Page
Excel::Template::Element::Image(3pm) User Contributed Perl Documentation Excel::Template::Element::Image(3pm)NAME
Excel::Template::Element::Image - Excel::Template::Element::Image
PURPOSE
To insert an image into the worksheet
NODE NAME
IMAGE
INHERITANCE
ELEMENT
EFFECTS
This will consume one column in the current row.
DEPENDENCIES
None
USAGE
<image path="/Some/Full/Path" />
<image path="/Some/Full/Path" offset="2,5" />
<image path="/Some/Full/Path" scale="2,0.4" />
<image path="/Some/Full/Path" offset="4,0" scale="0,2" />
Please see "" in Spreadsheet::WriteExcel for more information about the offset and scaling options as well as any other restrictions that
might be in place. This node does NOT perform any sort of validation upon your parameters. You are assumed to know what you are doing.
Note that the offset and scaling values are "X,Y". You must provide both values, even if the Y value is 0. If you provide a 0 value for
either scaling option, "" in Spreadsheet::WriteExcel will default that to 1.
AUTHOR
Rob Kinyon (rob.kinyon@gmail.com)
SEE ALSO
Nothing
perl v5.14.2 2010-06-17 Excel::Template::Element::Image(3pm)
hi,
how would i go about making a loop which gets each line from a single text file, set it to a variable and then print it to screen?
thanks
eg:
#!/bin/sh
FILE="somefile.txt"
text_line=""
what kind of loop would use here? (18 Replies)
Hi I am trying to write a script which will loop through all files that end in ".txt" and ask user if they want to delete the file or not
#this print out all files
dir=/root/etc/
find $dir -name "*.txt"
output:
1.txt
2.txt
etc
but what i really want is
1.txt delete(Y/N):
2.txt ... (11 Replies)
Hello!
I need to sort a file that is partly in English partly in Bulgarian.
The original file is an Excel file but I converted it to a tab-delimited text file. The encoding of the tab delimited file is UTF-8.
To sort the text, the script should test every line of the text file to see if... (9 Replies)
Hi Guys,
After windows died on my netbook I installed Lubuntu and discovered Gawk about a month ago. After using Excel for 10+ years I'm amazed how quick and easily Gawk can process data but I'm stuck with a little problem merging data from multiple lines.
I'm an SEO Consultant and provide... (9 Replies)
hi all
I am new to unix and want to create a loop to repeat the loop and before that it ask me to do so.I know "while" may help but I put it in my work and getting stuk with it.any help appreciated. (13 Replies)
Hi Guys,
I'm trying to find all files with a particular extension and then loop some actions. The problem is that if the files have spaces in their names I get end up being each word as a separate result rather than the entire file.
ext=".txt"
out=".rtf"
for i in $( find "$1" -name "*$ext" );... (9 Replies)
echo "The recreate was successfully completed for device file $LCL_CLN_FILE." >> $LOG_FILE
remaining=$(symclone -sid $LCL_SID -f $ETC/$LCL_CLN_FILE query | grep MB | awk '{print $2}')
if
then
while
do
echo "$remaining MB's to be copied........." >> $LOG_FILE
... (10 Replies)
I have the following chunk of code...
while
when I try to execute this script, it outputs an error "test: ] missing"
Is there a syntax error here? (9 Replies)
I would like to loop over variables i and j consecutively,
{ a = -6.7
b = 7.0
c =0.1
{ for (i = 0; i<=(b-a)/c; i++)
for (j = 1; j<=(b-a)/c; j++)
'$1<=(a+j*c)&&$1>=(a+i*c)' FILENAME > output_j
'{print $2}' output_j > output_j_f
}
I essentially want to print the range of $1... (9 Replies)
I am inputing three variables in the script where i am running loop for two times.so right now my output is coming like
A
B
C
A1
B1
C1
But i want output like
A
A1
B
B1
C
C1
Please suggest what i will do now ? Do i have to save the output in three different files or is there... (11 Replies)
hi,
i need a portion in a audit logging shell script where i have to loop thru multiple variables.
I need some help in accomplishing this. i have 3 variables
var1=1,23,234
var2=a,ab,xyz
var3=0,0,0
the variables will have variables number of values but same length.(3 in this case )
i... (10 Replies)
Hello,
I have been stuck on this for some time and invested many hours trying to find a solution. I am trying to either loop through two variables or or two arrays and not sure how to do it. I am limited to ksh only, and don't have the ability to do a foreach, or for i AND for j etc...I... (19 Replies)
Hi I have a text file that I need use as a osascript to format some Excel files. My commands are working between the osascript and Excel but what I would like to do is format the text file with an array.
Is there a way to expand the array variables into another text file while still retaining... (9 Replies)