Monday, May 24, 2010

BlackBerry Perl plans and voice calling plans conundrum...?

I was working online to see if I could get a BlackBerry Perl from Cingular Wireless, and the only plan that they would let me apply to it was a plan for the BlackBerry Data plans.





Do you need a regular voice calling plan from Cingular Wireless to make regular phone calls and text message and other things with a BlackBerry?





I'm thinking that the answer will be yes, but I would love some insight into the details of this, and insight as to why they only offer the BlackBerry plan instead of a voice plan also on the website.

BlackBerry Perl plans and voice calling plans conundrum...?
The website must not have been working right. I work for Cingular and you can get any plan you want. You do not need a voice plan to make calls, however you will charged a per use rate and unless your usage is at a vast minimum I would suggest getting a voice plan. Voice plans start at $39.99 and data plans for Blackberrys start at $29.99 for email/internet and you can text messaging plans on top of that for as low as $4.99. Just call in or go to a local store and they can explain it a 100% better than the website can.

garden ridge

Where i can learn perl online for free?

Go to http://learn.perl.org/


You get all the stuff related to PERl.

Where i can learn perl online for free?
At http://learn.perl.org/


Should I learn perl or php?

I know perl and have used it extensively as a scripting language. I am using XAMPP and am practicing web design. Is it worth learning PHP or should I stick with perl? Which is easier to pick up in terms of web development on xampp? Thank you.

Should I learn perl or php?
PHP
Reply:I agree. PHP is the go.
Reply:Learn PHP too; it's good to have multiple languages.
Reply:ya PHP is better





for learning PHP here is some good links for you [ video tutorials]





http://www.learningnerd.com/php-basics





--------





and here is a list of more video tutorial sites very helpfull





http://free-php-video-tutorials.blogspot...





http://www.killerphp.com/





http://www.video-tutes.com/index.php





http://www.phpvideotutorials.com





http://more-php.blogspot.com
Reply:Take my advice .. PHP the best .. and i don't say that coz i am programming by php All that coz php is greate language you can to learn it.


I have installed PERL how do I open the software??

Open what software?


If you have a Perl program, say it's in the file myprogram.pl, you can run it like this:





C:\%26gt; perl myprogram.pl


How to move or rename multiple files in perl script?

I have a scipt where in i have to move all files with a given prefix, to a different directory from its existing directory, how do i rename or move the files without changing the file name but at the same time moving it to a different directory

How to move or rename multiple files in perl script?
If I understand correctly, you need to move all files that have the prefix $prefix from the folder $startFolder to the folder $endFolder.





If I were doing this, I would execute a shell command. Are you running this on a unix system? If so, then you want:


`mv $startFolder/$prefix.* $endFolder`


If it's windows/dos, you want:


`move $startFolder/$prefix.* $endFolder`

flowers for algernon

PERL: how do i create a new file to output data to??

print("filename :: ");


chomp ($name = %26lt;STDIN%26gt;);





$newfile = "$name.txt";


open(FILE, "$name.txt") or die "Couldnt open file.";





i want $name.txt to be created so i can write information to it from this perl program. Can anyone shed any information??


Thanks.

PERL: how do i create a new file to output data to??
In Perl, open by default opens for READING.





You can explicitly say whether you are reading or writing, by placing a greater-than or less-than character in front of the filename:





open FILE, "%26lt;${name}.txt" (open for read)


open FILE, "%26gt;${name}.txt" (open for write)


open FILE, "%26gt;%26gt;${name}.txt" (open for append)
Reply:Jay here is your link





http://www.google.co.uk/search?hl=en%26amp;q=I...
Reply:To create (over-writing if it exists) the file, use:





open (FILE, "%26gt;", $filename) || die "Could not open file $filename";





To append to the file, use:





open (FILE, "%26gt;%26gt;", $filename) || die "Could not open file $filename";





You should get in the habit of using the three argument form of open. If you use the two argument form and allow users to provide their own filenames, you are potentially opening a security hole.





For example:





open (FILE, $filename);





Imagine if the user provides a filename with a '%26gt;' as the first character. Depending on the unix permissions, they can potentially truncate arbitary files on your system.


What is the perl command for counting words? I have a scalar assigned. Provide an example for best answer.?

okay, so I have a website that is posting a scalar of information. I want to open the scalar and count the number of words and then tell me how many words. If you give me a good example of how you use it I will give you the best choice points.

What is the perl command for counting words? I have a scalar assigned. Provide an example for best answer.?
my @list = split(/\s*/, $your_scalar);


my $word_count = $#list;
Reply:Counting the Words in a Text





Use wc with the `-w' option to specify that just the number of words be counted and output.





To output the number of words in the file `story', type:


$ wc -w story [RET]





To output counts for several files, first concatenate the files with cat, and then pipe the output to wc.





To output the combined number of words for all the files with a `.txt' file name extension in the current directory, type:


$ cat *.txt | wc -w [RET]





more info at the site below