04-01-2008
It depends, perl's equivalents of "include" are use, require and do.
Those functions will expect that you call another script :
"require myLibrary.pl"
For the HTML part see
HTML:Template or
this tutorial at perlmonks.
10 More Discussions You Might Find Interesting
1. Programming
I am using the C compiler included with AIX 4.3.3. I am unable to include libraries when I try to create the executable. Is there a switch that has to be used at compile time to make this happen??
Can anyone help?? (2 Replies)
Discussion started by: andrewl68
2 Replies
2. Shell Programming and Scripting
I am accessing two files. I am using read command to read from the files.
For the first file, I need read the fields delimited by spaces, and for the other file, I need to read the whole line as a single field including the spaces.
When I used read command for the second file, the spaces... (4 Replies)
Discussion started by: kumariak
4 Replies
3. UNIX for Dummies Questions & Answers
Hi
I want to archive the following all the files and directory like listed below:
$ ls -a
. .. .bash_history .bash_logout .bash_profile .bashrc .emacs .mysql_history public_html .viminfo
What I tried is to use the following command
$ gtar cvzf allmyfiles.tar.gz *
... (1 Reply)
Discussion started by: monkfan
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I need to create recursive tar archive, while I put there only files of type a*.txt.
Without file filtering the command is: tar cfzf test.tar.gz test_tar/
How I include the switch for including only files with pattern a*.txt ?
Thanks a lot! (1 Reply)
Discussion started by: john.gelburg
1 Replies
5. Shell Programming and Scripting
Hello Experts,
I m newbie. Could u pls help me to write script on Sun solaris-
I have backup directory "/var/opt/backup/" where files are backed up in different directory "backup1" "backup2" "backup3".
I want to write a shell script which i will put in crontab and daily midnight it will... (1 Reply)
Discussion started by: thepurple
1 Replies
6. Shell Programming and Scripting
I am wondering how I can include external files in a perl script. I'm currently working on a website, and I'd like to put my menu items in a subroutine for example, and put that in another file such as menu.pl. That way, I can call the subroutine from each page (such as news.pl), and if I want to... (2 Replies)
Discussion started by: LNC
2 Replies
7. Programming
Hi
I am trying to debug a code by including prinf . TO some extended it shows error at one point .
If i include an extra printf it is showing at different point . Can anybody please let em know why it is happening ..
Thaks,
Arun (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
8. Shell Programming and Scripting
I want to list all the files in the current directory including those in the subdirectories as well as a single lot in the order of last updated. (Not as separate list given by ls -lRt).
Any suggestion?
Thanks (4 Replies)
Discussion started by: Soham
4 Replies
9. Shell Programming and Scripting
Hi,
Is is possible to zip a folder and all its contents within the folder ( including sub-directories and files) into a zip file? and can regain the same structure if unzipped?
Thanks (6 Replies)
Discussion started by: rudoraj
6 Replies
10. Shell Programming and Scripting
For the record, I already tried telling mgmt and the users to disallow spaces in filenames for this script, but it isn't happening for a number of ID10T-error-based reasons.
I have simple list of 3 files in a directory that are named like this:
bash-3.2$ ls -1 file*
file1
file1 part2... (2 Replies)
Discussion started by: ckmehta
2 Replies
LEARN ABOUT SUSE
template::manual
Template::Manual(3) User Contributed Perl Documentation Template::Manual(3)
NAME
Template::Manual - Template Toolkit User Manual
Template Toolkit Manual
The Template Toolkit manual contains documentation on using and extending the Template Toolkit.
Template::Manual::Intro
The Template::Manual::Intro page provides an introduction to the Template Toolkit
Template::Manual::Syntax
The Template::Manual::Syntax desribes the syntax and structure of templates and the directive tags embedded within them.
Template::Manual::Directives
The Template::Manual::Directives page lists all the Template Toolkit directives and gives examples of their use.
Template::Manual::Variables
The Template::Manual::Variables page describes the use of variables in templates.
Template::Manual::VMethods
The Template::Manual::VMethods page provides a full list of virtual methods that can be used in conjunction with variables, and gives
examples of their use.
Template::Manual::Config
The Template::Manual::Config page describes all of the Template Toolkit configuration options.
Template::Manual::Filters
The Template::Manual::Filters page lists all of the Template Toolkit filters and gives examples of their use.
Template::Manual::Plugins
The Template::Manual::Plugins page lists all of the standard plugins distributed with Template Toolkit and gives examples of their use.
Template::Manual::Internals
The Template::Manual::Internals page describes the internal workings of the Template Toolkit. It is aimed at developers who wish to extend
or modify the
Template::Manual::Views
The Template::Manual::Views page describes the experimental "VIEW" directive.
Template::Manual::Credits
The Template::Manual::Credits page lists the people who have contributed to the Template Toolkit.
perl v5.12.1 2008-11-13 Template::Manual(3)