Hello if you want to share variables content you might to use 'our'
instead of 'my'.
But I don't understand your example with 'use "file1.pl"'.
I always use 'use module_name' and never 'use program_name'
Can you tell us more
[EMAIL PROTECTED] a écrit :
Hello,
Could someone tell me if this i
On Dec 29, 2007 8:32 PM, <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Could someone tell me if this is possible and if it is how I do it. I
> have the following two file;
>
> file1.pl
> ---
> print "$testvar\n";
> ---
>
> file2.pl
> ---
> my $testvar = 37;
> use "file1.pl";
> ---
>
> If I run file2.pl
Hello,
Could someone tell me if this is possible and if it is how I do it. I
have the following two file;
file1.pl
---
print "$testvar\n";
---
file2.pl
---
my $testvar = 37;
use "file1.pl";
---
If I run file2.pl (perl file2.pl) I will of course only see a newline.
But is it possible to export t
On Dec 28, 2007 6:45 AM, Nash <[EMAIL PROTECTED]> wrote:
> On Dec 28, 5:55am, [EMAIL PROTECTED] (Chas. Owens) wrote:
> > It also looks (based on the answer to your second question) like X: is
> > not a valid name. Is it possible that you have already mapped a drive
> > to X:?
>
> Of course not :)
On Dec 29, 2007 7:44 AM, Nash <[EMAIL PROTECTED]> wrote:
> On Dec 28, 7:11pm, [EMAIL PROTECTED] (Chas. Owens) wrote:
>
> > Hmm, does it still work when all you give it is the RemoteName?
>
> Yes it does, that's what's puzzling me. I'll try using the strict and
> warnings pragmas, the way I saw in o
On Dec 28, 7:11 pm, [EMAIL PROTECTED] (Chas. Owens) wrote:
> Hmm, does it still work when all you give it is the RemoteName?
Yes it does, that's what's puzzling me. I'll try using the strict and
warnings pragmas, the way I saw in other scripts.
Nash
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
On Wed, 26 Dec 2007, [EMAIL PROTECTED] wrote:
>>I just loaded WinXP on my wife's computer. I hate that OS.
>
>So? It works for billions of other people and companies, what does that say?
>They are _all_ 'uninformed' and
you are?
>Relevance to the issue?
>
>>I just noticed that the command promp
On Dec 29, 2007 9:18 AM, oscar gil <[EMAIL PROTECTED]> wrote:
> Using 'open' I cannot say if the 'del' command was done correctly
> or not, although there is a message probably to STDERR that I do
> not know how to manage. :-(
I believe you're talking about a piped open() to an external command
On Dec 29, 2007 11:34 AM, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
> From: "Chas. Owens" <[EMAIL PROTECTED]>
> > On Dec 28, 2007 10:15 AM, Adarsh Srivastava
> > <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > Is there any inbuilt/external function or library that can convert a text
> > > expre
Thanks John for your quick answer.
what you said about:
>Only the $? variable applies to the system() function. I think that
>'del' is an internal command.com function (I haven't used DOS/Windows
>in a long time) so $? will probably report the return status of
> command.com?
...
On Dec 29, 2007 5:35 AM, Siva Prasad <[EMAIL PROTECTED]> wrote:
> I have some video files with thumbnail images associated with each file.
> Is there any way in perl to get the thumbnail image of the video file.
If it's in the file, there's a way to get it out.
Find out what file format you're
From: "Chas. Owens" <[EMAIL PROTECTED]>
> On Dec 28, 2007 10:15 AM, Adarsh Srivastava
> <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > Is there any inbuilt/external function or library that can convert a text
> > expression (eg. "22 + 23") and evaluate the resulting value?( 45 in this
> > case).
> s
oscar gil wrote:
Hello everybody,
Hello,
I wanted to learn a bit more about how to handle errors when I am
working with files,
Do you want to handle errors or do you want to report errors?
so I wrote this simple script to start with it
where you can see that first I show the normal perl e
Hi Gurus,
I have some video files with thumbnail images associated with each file.
What I need to do is get the thumbnail image and store other folder by name
"Images" with same name.
Is there any way in perl to get the thumbnail image of the video file.
Thanks,
Siva
<>
On Dec 29, 2:50 am, [EMAIL PROTECTED] (Chas. Owens) wrote:
> On Dec 28, 2007 10:15 AM, Adarsh Srivastava<[EMAIL PROTECTED]> wrote:
> > Hello,
>
> > Is there any inbuilt/external function or library that can convert a text
> > expression (eg. "22 + 23") and evaluate the resulting value?( 45 in this
Thanks Tom,
I agree that it aint a big deal to write a oneliner hacking the shebang
line, but, thought overriding some variables during the MakeMaker make would
be more cleaner. I looked around for some information and finally ended up
sending this mail.
In my make environment surrounding the DBI
Hello everybody,
I wanted to learn a bit more about how to handle errors when I am working with
files, so I wrote this simple script to start with it where you can see that
first I show the normal perl errors variables, then I try to delete a file and
finally I show the errors variables again.
T
17 matches
Mail list logo